mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove
Signed-off-by: Atsushi Nemoto <[email protected]> Signed-off-by: Brian Norris <[email protected]>
This commit is contained in:
parent
887957b4af
commit
e4c4c9c15e
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue