summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-10-14 11:00:51 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-10-14 11:00:51 +0100
commit08d790432906b3815a1dc91a826ca85ff2a73b6c (patch)
tree0c6b176414d39f32377934e5cade4020086ba013 /drivers/mtd
parentdaa847356a4f2b2722d78b389ec4f172f24fecd5 (diff)
downloadop-kernel-dev-08d790432906b3815a1dc91a826ca85ff2a73b6c.zip
op-kernel-dev-08d790432906b3815a1dc91a826ca85ff2a73b6c.tar.gz
[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 d978c2e..48f4cf5 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);
OpenPOWER on IntegriCloud