diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-12-06 20:50:20 +0300 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2017-12-06 20:50:20 +0300 |
commit | 84a1695a6f925291f301951498fd7b56d3cb40a2 (patch) | |
tree | cc4e147d2f1b0d54b1a626d36d932858974ab5b7 /drivers/memory | |
parent | 8428e5ad750d482bdf077e81a1e9357332b3278c (diff) | |
download | linux-84a1695a6f925291f301951498fd7b56d3cb40a2.tar.xz |
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: 8428e5ad750d ("memory: ti-emif-sram: introduce relocatable suspend/resume handlers")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'drivers/memory')
-rw-r--r-- | drivers/memory/ti-emif-pm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/memory/ti-emif-pm.c b/drivers/memory/ti-emif-pm.c index 4ea1514fb9b2..62a86c4bcd0b 100644 --- a/drivers/memory/ti-emif-pm.c +++ b/drivers/memory/ti-emif-pm.c @@ -300,7 +300,6 @@ fail_free_sram: static int ti_emif_remove(struct platform_device *pdev) { - struct device *dev = &pdev->dev; struct ti_emif_data *emif_data = emif_instance; emif_instance = NULL; |