From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: [PATCH] rsi: remove redundant variables bss, wh and temp_flash_content Date: Thu, 9 Aug 2018 15:14:03 +0000 (UTC) Message-ID: <20180809151403.BF64160B23@smtp.codeaurora.org> References: <20180803074636.20479-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: "David S . Miller" , Amitkumar Karwar , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org To: Colin King Return-path: In-Reply-To: <20180803074636.20479-1-colin.king@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Colin King wrote: > From: Colin Ian King > > Variables bss, wh and temp_flash_content are being assigned but are > never used hence they are redundant and can be removed. > > Cleans up clang warnings: > warning: variable 'bss' set but not used [-Wunused-but-set-variable] > warning: variable 'wh' set but not used [-Wunused-but-set-variable] > warning: variable 'temp_flash_content' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Colin Ian King Patch applied to wireless-drivers-next.git, thanks. 35204d0aa83f rsi: remove redundant variables bss, wh and temp_flash_content -- https://patchwork.kernel.org/patch/10554759/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches