Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Atsushi Nemoto and committed by
Brian Norris
e4c4c9c1 887957b4

-2
-2
drivers/mtd/maps/rbtx4939-flash.c
··· 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 }