Re: [PATCH] ipw2x00: cleanup dead code
From: Kalle Valo
Date: Thu Dec 20 2018 - 01:50:39 EST
YueHaibing <yuehaibing@xxxxxxxxxx> 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 <yuehaibing@xxxxxxxxxx>
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