On Fri, Jul 05, 2024 at 11:44:34PM +0300, Aleksandr Mishin wrote:
In ks_wlan_get_range() variable 'i' which value is always 12, is compared
to 2. This check is unneeded and should be removed.
Remove unneeded check to clean up the code.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 13a9930d15b4 ("staging: ks7010: add driver from Nanonote extra-repository")
Signed-off-by: Aleksandr Mishin <amishin@xxxxxxxxxx>
I thought this driver was to be removed[1]? Phillip (CCed), what is the
current status? If you are busy, I can remove it as well...
[1] https://lore.kernel.org/all/igi27iwrzg3ovgj3sym4gsi45timpkt4vkl5ss5dbftdzat6p4@ctxcjocvunpt/