projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
887957b
)
mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove
author
Atsushi Nemoto
<anemo@mba.ocn.ne.jp>
Sat, 28 Jun 2014 15:01:18 +0000
(
00:01
+0900)
committer
Brian Norris
<computersforpeace@gmail.com>
Wed, 2 Jul 2014 22:21:39 +0000
(15:21 -0700)
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/maps/rbtx4939-flash.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/rbtx4939-flash.c
b/drivers/mtd/maps/rbtx4939-flash.c
index 146b6047ed2b0e066ebc5961244993927d7f8387..a84fdfb105186aa775b50b63f790fc6c8d87f5b7 100644
(file)
--- 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);
}