Re: [PATCH] staging: wilc1000: remove wilc1000_spi_ops as it is not used

From: Greg Kroah-Hartman
Date: Mon Feb 15 2016 - 21:22:46 EST


On Mon, Feb 15, 2016 at 03:18:27PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> building with gcc 6 I hit a build failure:
>
> CC drivers/staging/wilc1000/wilc_spi.o
> drivers/staging/wilc1000/wilc_spi.c:123:34: error: storage size of
> âwilc1000_spi_opsâ isnât known
> static const struct wilc1000_ops wilc1000_spi_ops;
> ^~~~~~~~~~~~~~~~
> drivers/staging/wilc1000/wilc_spi.c:123:34: warning: âwilc1000_spi_opsâ
> defined but not used [-Wunused-const-variable]
>
> Since wilc1000_spi_ops is not used, remove it and the driver builds.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/staging/wilc1000/wilc_spi.c | 2 --
> 1 file changed, 2 deletions(-)

Doesn't apply to my tree at all, are you sure you are using linux-next
for this?

thanks,

greg k-h