From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: [PATCH] ipw2x00: cleanup dead code Date: Thu, 20 Dec 2018 06:50:33 +0000 (UTC) Message-ID: <20181220065033.D514560736@smtp.codeaurora.org> References: <20181219030013.13736-1-yuehaibing@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: , , , , , YueHaibing To: YueHaibing Return-path: In-Reply-To: <20181219030013.13736-1-yuehaibing@huawei.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org YueHaibing wrote: > Fix smatch warning: > > drivers/net/wireless/intel/ipw2x00/ipw2100.c:5606 > shim__set_security() warn: always true condition '(sec->active_key <= 3) => (0-3 <= 3)' > drivers/net/wireless/intel/ipw2x00/ipw2200.c:10725 > shim__set_security() warn: always true condition '(sec->active_key <= 3) => (0-3 <= 3)' > > Signed-off-by: YueHaibing Patch applied to wireless-drivers-next.git, thanks. 90a8c74a8d7b ipw2x00: cleanup dead code -- https://patchwork.kernel.org/patch/10736741/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches