diff options
author | Vivek Natarajan <nataraja@qca.qualcomm.com> | 2011-12-29 11:48:39 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-01-02 17:38:32 +0100 |
commit | 792ecb33080f4e315695e0fe21cf3a3c2a514dd0 (patch) | |
tree | 5cd06449c7fd2471905fc5c53aa3924a4663b8a8 /drivers/net/wireless/ath/ath6kl/wmi.h | |
parent | ath6kl: Add a module parameter to enable uart debug (diff) | |
download | linux-792ecb33080f4e315695e0fe21cf3a3c2a514dd0.tar.xz linux-792ecb33080f4e315695e0fe21cf3a3c2a514dd0.zip |
ath6kl: Remove redundant key_index check.
Less-than-zero comparison of an unsigned value is never true.
kvalo: remove WMI_MIN_KEY_INDEX altogether, it's useless
Signed-off-by: Vivek Natarajan <nataraja@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/wmi.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/wmi.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.h b/drivers/net/wireless/ath/ath6kl/wmi.h index 9f8425b97db7..2b435994b013 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.h +++ b/drivers/net/wireless/ath/ath6kl/wmi.h @@ -649,7 +649,6 @@ enum auth_mode { WPA2_AUTH_CCKM = 0x40, }; -#define WMI_MIN_KEY_INDEX 0 #define WMI_MAX_KEY_INDEX 3 #define WMI_MAX_KEY_LEN 32 |