[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <lsq.1510009382.142493995@decadent.org.uk>
Date: Mon, 06 Nov 2017 23:03:02 +0000
From: Ben Hutchings <ben@...adent.org.uk>
To: linux-kernel@...r.kernel.org, stable@...r.kernel.org
CC: akpm@...ux-foundation.org,
"Brian Norris" <computersforpeace@...il.com>,
"Atsushi Nemoto" <anemo@....ocn.ne.jp>,
"Arnd Bergmann" <arnd@...db.de>
Subject: [PATCH 3.16 242/294] mtd: maps: rbtx4939-flash: delete an unused
variable in rbtx4939_flash_remove
3.16.50-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Atsushi Nemoto <anemo@....ocn.ne.jp>
commit e4c4c9c15ebe8ec03b7f5bf36e079052cc88217c upstream.
Signed-off-by: Atsushi Nemoto <anemo@....ocn.ne.jp>
Signed-off-by: Brian Norris <computersforpeace@...il.com>
Signed-off-by: Arnd Bergmann <arnd@...db.de>
Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
---
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);
}
Powered by blists - more mailing lists