staging: wilc1000: Remove unnecessary array index check
authorNathan Chancellor <natechancellor@gmail.com>
Sun, 6 May 2018 07:33:33 +0000 (00:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 02:11:23 +0000 (19:11 -0700)
commit1cbe5fe261a19b4a9a482cd24b12d1d063abaa44
treeb89a8c563b148e30d370751ea9f8acd69ee2b19c
parent7aa48d37ae466a5d0eaa0dba8ac88aced83bdec7
staging: wilc1000: Remove unnecessary array index check

This statment triggers GCC's -Wtype-limit since key_index is an
unsigned integer so it cannot be less than zero.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c