mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Aug 8 09:59:01 PDT 2014
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=e4c4c9c15ebe8ec03b7f5bf36e079052cc88217c
Commit: e4c4c9c15ebe8ec03b7f5bf36e079052cc88217c
Parent: 887957b4af65df55ed90a707fa7dfa3ebf37f50c
Author: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
AuthorDate: Sun Jun 29 00:01:18 2014 +0900
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Wed Jul 2 15:21:39 2014 -0700
mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove
Signed-off-by: Atsushi Nemoto <anemo at mba.ocn.ne.jp>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
drivers/mtd/maps/rbtx4939-flash.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mtd/maps/rbtx4939-flash.c b/drivers/mtd/maps/rbtx4939-flash.c
index 146b604..a84fdfb 100644
--- a/drivers/mtd/maps/rbtx4939-flash.c
+++ b/drivers/mtd/maps/rbtx4939-flash.c
@@ -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);
}
More information about the linux-mtd-cvs
mailing list