mtd: mtd in mtd_release is unused without CONFIG_MTD_CHAR
authorDenis V. Lunev <den@openvz.org>
Sun, 12 Apr 2009 07:14:46 +0000 (08:14 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 19 Apr 2009 07:59:17 +0000 (08:59 +0100)
commit2fdb11449ca82f4f1907fce4929df4e0bd267c50
treebc6d13b955707b15abb85918a84f0bf7d891aa8c
parent0882e8dd3aad33eca41696d463bb896e6c8817eb
mtd: mtd in mtd_release is unused without CONFIG_MTD_CHAR

drivers/mtd/mtdcore.c: In function 'mtd_release':
drivers/mtd/mtdcore.c:51: warning: unused variable 'mtd'

[akpm: make it actually build]
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdcore.c