lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed,  6 Dec 2017 15:13:06 +0100
From:   Arnd Bergmann <>
To:     Santosh Shilimkar <>
Cc:     Arnd Bergmann <>, Tony Lindgren <>,
        Dave Gerlach <>,
Subject: [PATCH] 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 <>
 drivers/memory/ti-emif-pm.c | 1 -
 1 file changed, 1 deletion(-)

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 @@ static int ti_emif_probe(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;
 	emif_instance = NULL;

Powered by blists - more mailing lists