Commit e4c4c9c15ebe8ec03b7f5bf36e079052cc88217c

Authored by Atsushi Nemoto
Committed by Brian Norris
1 parent 887957b4af

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>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

drivers/mtd/maps/rbtx4939-flash.c
... ... @@ -35,8 +35,6 @@
35 35 return 0;
36 36  
37 37 if (info->mtd) {
38   - struct rbtx4939_flash_data *pdata = dev_get_platdata(&dev->dev);
39   -
40 38 mtd_device_unregister(info->mtd);
41 39 map_destroy(info->mtd);
42 40 }