Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1334944

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

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: wilc1000: remove wilc1000_spi_ops as it is not used
Date 2016-02-16 03:30 +0100
Message-ID <r2DyO-1ku-7@gated-at.bofh.it> (permalink)
References <r2t6q-2Md-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Feb 15, 2016 at 03:18:27PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> 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@canonical.com>
> ---
>  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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] staging: wilc1000: remove wilc1000_spi_ops as it is not used Colin King <colin.king@canonical.com> - 2016-02-15 16:20 +0100
  Re: [PATCH] staging: wilc1000: remove wilc1000_spi_ops as it is not  used Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-02-16 03:30 +0100

csiph-web