mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sat, 28 Jun 2014 15:01:18 +0000 (00:01 +0900)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 2 Jul 2014 22:21:39 +0000 (15:21 -0700)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/maps/rbtx4939-flash.c

index 146b604..a84fdfb 100644 (file)
@@ -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);
        }