From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:37340 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726669AbeITRyi (ORCPT ); Thu, 20 Sep 2018 13:54:38 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: [PATCH] brcmfmac: remove set but not used variables 'sfdoff' and 'pad_size' From: Kalle Valo In-Reply-To: <20180911032404.14536-1-yuehaibing@huawei.com> References: <20180911032404.14536-1-yuehaibing@huawei.com> To: YueHaibing Cc: , , , , , , , , , , , , , YueHaibing Message-Id: <20180920121126.70BE1602A7@smtp.codeaurora.org> (sfid-20180920_141147_916367_671A1720) Date: Thu, 20 Sep 2018 12:11:26 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function 'brcmf_sdio_rxglom': > drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:1466:11: warning: > variable 'sfdoff' set but not used [-Wunused-but-set-variable] > > drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c: In function 'brcmf_sdio_bus_preinit': > drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c:3408:7: warning: > variable 'pad_size' set but not used [-Wunused-but-set-variable] > > Signed-off-by: YueHaibing Patch applied to wireless-drivers-next.git, thanks. a8254fa4ba60 brcmfmac: remove set but not used variables 'sfdoff' and 'pad_size' -- https://patchwork.kernel.org/patch/10595033/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches