Commit 437d0d29 authored by Toralf Förster's avatar Toralf Förster Committed by David Woodhouse

[MTD] [NAND] fix 2 "unused variable" warnings in cafe_nand.c

Signed-off-by: default avatarToralf Förster <toralf.foerster@gmx.de>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 1b0b30ac
......@@ -626,10 +626,12 @@ static int __devinit cafe_nand_probe(struct pci_dev *pdev,
{
struct mtd_info *mtd;
struct cafe_priv *cafe;
struct mtd_partition *parts;
uint32_t ctrl;
int nr_parts;
int err = 0;
#ifdef CONFIG_MTD_PARTITIONS
struct mtd_partition *parts;
int nr_parts;
#endif
/* Very old versions shared the same PCI ident for all three
functions on the chip. Verify the class too... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment