summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/rbtx4939-flash.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2014-06-29 00:01:18 +0900
committerBrian Norris <computersforpeace@gmail.com>2014-07-02 15:21:39 -0700
commite4c4c9c15ebe8ec03b7f5bf36e079052cc88217c (patch)
tree386a9486fc54f409ac827993bcb340ffb28eb816 /drivers/mtd/maps/rbtx4939-flash.c
parent887957b4af65df55ed90a707fa7dfa3ebf37f50c (diff)
downloadblackbird-op-linux-e4c4c9c15ebe8ec03b7f5bf36e079052cc88217c.tar.gz
blackbird-op-linux-e4c4c9c15ebe8ec03b7f5bf36e079052cc88217c.zip
mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/maps/rbtx4939-flash.c')
-rw-r--r--drivers/mtd/maps/rbtx4939-flash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/maps/rbtx4939-flash.c b/drivers/mtd/maps/rbtx4939-flash.c
index 146b6047ed2b..a84fdfb10518 100644
--- a/drivers/mtd/maps/rbtx4939-flash.c
+++ b/drivers/mtd/maps/rbtx4939-flash.c
@@ -35,8 +35,6 @@ static int rbtx4939_flash_remove(struct platform_device *dev)
return 0;
if (info->mtd) {
- struct rbtx4939_flash_data *pdata = dev_get_platdata(&dev->dev);
-
mtd_device_unregister(info->mtd);
map_destroy(info->mtd);
}
OpenPOWER on IntegriCloud