From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752553AbcBPCWm (ORCPT ); Mon, 15 Feb 2016 21:22:42 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:37324 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752295AbcBPCWl (ORCPT ); Mon, 15 Feb 2016 21:22:41 -0500 Date: Mon, 15 Feb 2016 18:22:40 -0800 From: Greg Kroah-Hartman To: Colin King Cc: Johnny Kim , Austin Shin , Chris Park , Tony Cho , Glen Lee , Leo Kim , linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: wilc1000: remove wilc1000_spi_ops as it is not used Message-ID: <20160216022240.GA31825@kroah.com> References: <1455549507-25553-1-git-send-email-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1455549507-25553-1-git-send-email-colin.king@canonical.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 15, 2016 at 03:18:27PM +0000, Colin King wrote: > From: Colin Ian King > > 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 > --- > 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