linux/drivers/staging/ks7010
Colin Ian King 7d6009f282 staging: ks7010: remove redundant auth_type check
The range check on auth_type is redundant as there is a prior
check on the auth_type values and the only way the block is entered
is if auth_type is one of TYPE_PMK1, TYPE_GMK1 and TYPE_GMK2. Hence
the auth_type check can be removed.

Detected by static analysis with cppcheck.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-19 14:31:39 +01:00
..
eap_packet.h staging: ks7010: remove not used definition WPA_CAPABILITY_PREAUTH 2018-05-14 14:07:05 +02:00
Kconfig staging: ks7010: remove custom firmware loader 2016-06-07 22:42:53 -07:00
ks7010_sdio.c staging: ks7010: avoid casting inside cpu_to_* assignments 2018-05-20 14:47:14 +02:00
ks_hostif.c staging: ks7010: remove redundant auth_type check 2019-03-19 14:31:39 +01:00
ks_hostif.h staging: ks7010: change some casts from uint8_t to u8 in ks_hostif header 2018-05-06 18:58:38 -07:00
ks_wlan_ioctl.h staging: ks7010: add SPDX identifiers to all files 2018-05-06 18:58:36 -07:00
ks_wlan_net.c Staging: ks7010: Replace typecast to int 2019-03-01 09:05:01 +01:00
ks_wlan.h staging: ks7010: Remove unused define 2018-05-15 09:31:38 +02:00
Makefile staging: ks7010: removed custom Michael MIC implementation. 2019-02-28 19:14:53 +01:00
TODO staging: ks7010: removed custom Michael MIC implementation. 2019-02-28 19:14:53 +01:00