Commit e4c4c9c1 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Brian Norris

mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove

Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 887957b4
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment