Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:37642 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387481AbeITRzo (ORCPT ); Thu, 20 Sep 2018 13:55:44 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: [PATCH] qtnfmac: remove set but not used variable 'vif' From: Kalle Valo In-Reply-To: <1536668904-13110-1-git-send-email-yuehaibing@huawei.com> References: <1536668904-13110-1-git-send-email-yuehaibing@huawei.com> To: YueHaibing Cc: Igor Mitsyanko , Avinash Patil , Sergey Matyukevich , Sergei Maksimenko , Vasily Ulyanov , "Andrey Shevchenko" , YueHaibing , , , Message-Id: <20180920121232.45382602A7@smtp.codeaurora.org> (sfid-20180920_141236_686588_CD409BA1) Date: Thu, 20 Sep 2018 12:12:32 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/quantenna/qtnfmac/cfg80211.c: In function 'qtnf_dump_survey': > drivers/net/wireless/quantenna/qtnfmac/cfg80211.c:694:19: warning: > variable 'vif' set but not used [-Wunused-but-set-variable] > > Signed-off-by: YueHaibing > Reviewed-by: Sergey Matyukevich Patch applied to wireless-drivers-next.git, thanks. 93ed990e3a6e qtnfmac: remove set but not used variable 'vif' -- https://patchwork.kernel.org/patch/10595609/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches