Re: [PATCH -next] fpga: dfl: fme: Remove set but not used variable 'fme'

From: Ben Widawsky
Date: Mon May 27 2019 - 18:13:14 EST


On 19-05-27 23:34:24, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/fpga/dfl-fme-main.c: In function fme_dev_destroy:
> drivers/fpga/dfl-fme-main.c:216:18: warning: variable fme set but not used [-Wunused-but-set-variable]
>
> It's never used since introduction in commit 29de76240e86 ("fpga:
> dfl: fme: add partial reconfiguration sub feature support")
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Acked-by: Ben Widawsky <ben@xxxxxxxxxxxx>

[snip]