3.16.50-rc1 review patch.  If anyone has any objections, please let me know.

------------------

From: Atsushi Nemoto <[email protected]>

commit e4c4c9c15ebe8ec03b7f5bf36e079052cc88217c upstream.

Signed-off-by: Atsushi Nemoto <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
---
 drivers/mtd/maps/rbtx4939-flash.c | 2 --
 1 file changed, 2 deletions(-)

--- a/drivers/mtd/maps/rbtx4939-flash.c
+++ b/drivers/mtd/maps/rbtx4939-flash.c
@@ -35,8 +35,6 @@ static int rbtx4939_flash_remove(struct
                return 0;
 
        if (info->mtd) {
-               struct rbtx4939_flash_data *pdata = dev_get_platdata(&dev->dev);
-
                mtd_device_unregister(info->mtd);
                map_destroy(info->mtd);
        }

Reply via email to