Web lists-archives.com

Re: [PATCH] memory: ti-emif-sram: remove unused variable




On 12/6/17 6:13 AM, Arnd Bergmann wrote:
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@xxxxxxxx>
---
Applied !!