[PATCH - 2.5.69] Warning fix in drivers/mtd/mtdblock.c

Krishnakumar. R (krishnakumar@naturesoft.net)
Thu, 8 May 2003 13:33:25 +0530


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(-)

--- linux-2.5.69/drivers/mtd/mtdblock.c.orig Mon May 5 05:23:13 2003
+++ linux-2.5.69/drivers/mtd/mtdblock.c Thu May 8 13:46:38 2003
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/