Commit 84a1695a authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Santosh Shilimkar

memory: ti-emif-sram: remove unused variable

The newly introduced driver causes a harmless warning for a variable
that was evidently never used:

drivers/memory/ti-emif-pm.c: In function 'ti_emif_remove':
drivers/memory/ti-emif-pm.c:303:17: error: unused variable 'dev' [-Werror=unused-variable]

Fixes: 8428e5ad ("memory: ti-emif-sram: introduce relocatable suspend/resume handlers")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
parent 8428e5ad
...@@ -300,7 +300,6 @@ static int ti_emif_probe(struct platform_device *pdev) ...@@ -300,7 +300,6 @@ static int ti_emif_probe(struct platform_device *pdev)
static int ti_emif_remove(struct platform_device *pdev) static int ti_emif_remove(struct platform_device *pdev)
{ {
struct device *dev = &pdev->dev;
struct ti_emif_data *emif_data = emif_instance; struct ti_emif_data *emif_data = emif_instance;
emif_instance = NULL; emif_instance = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment