ath6kl: Remove redundant key_index check.
authorVivek Natarajan <nataraja@qca.qualcomm.com>
Thu, 29 Dec 2011 10:48:39 +0000 (16:18 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 2 Jan 2012 16:38:32 +0000 (18:38 +0200)
commit792ecb33080f4e315695e0fe21cf3a3c2a514dd0
tree5cd06449c7fd2471905fc5c53aa3924a4663b8a8
parenta10e2f2f6db8f86eaca1cf3d00269463da4d6434
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>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath6kl/main.c
drivers/net/wireless/ath/ath6kl/wmi.h