summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-10-14 12:00:51 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-10-14 12:00:51 +0200
commit08d790432906b3815a1dc91a826ca85ff2a73b6c (patch)
tree0c6b176414d39f32377934e5cade4020086ba013 /drivers/mtd
parent[MTD] m25p80.c extended jedec support (v2) (diff)
downloadlinux-08d790432906b3815a1dc91a826ca85ff2a73b6c.tar.xz
linux-08d790432906b3815a1dc91a826ca85ff2a73b6c.zip
[MTD] [MAPS] Remove unused variable after ROM API cleanup.
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/maps/pci.c b/drivers/mtd/maps/pci.c
index d978c2e28b1d..48f4cf5cb9d1 100644
--- a/drivers/mtd/maps/pci.c
+++ b/drivers/mtd/maps/pci.c
@@ -225,8 +225,6 @@ intel_dc21285_init(struct pci_dev *dev, struct map_pci_info *map)
static void
intel_dc21285_exit(struct pci_dev *dev, struct map_pci_info *map)
{
- u32 val;
-
if (map->base)
iounmap(map->base);