Skip to contentSkip to conversation

Warning fix in drivers/mtd/mtdblock.c

PATCH New Krishnakumar. R 1 participant 1 message May 8, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Warning fix in drivers/mtd/mtdblock.c

Hi,

The following patch will remove the compilation warning of "unused variable" from the drivers/mtd/mtdblock.c. Please apply.

Regards
KK

diffstat -p1 mtdblock-2.5.69.patch
===========================
drivers/mtd/mtdblock.c | 1 -

1 files changed, 1 deletion(-)
drivers/mtd/mtdblock.c Thu May 8 13:46:38 2003 renamed from drivers/mtd/mtdblock.c.orig Mon May 5 05:23:13 2003 +0 -1
@@ -522,7 +522,6 @@
 static void mtd_notify_add(struct mtd_info* mtd)
 {
        struct gendisk *disk;
-        char name[16];
 
         if (!mtd || mtd->type == MTD_ABSENT)
                 return;