minstrel_ht: remove unnecessary NULL check in minstrel_ht_update_caps
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 22 Jul 2010 19:36:02 +0000 (15:36 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Jul 2010 19:09:04 +0000 (15:09 -0400)
commit00fc90c886220efe8b634d3f2a04713fcebbe2c0
tree66e36e0b338564b60be182333c6bdba6b13f0d77
parenta6e492b9b5d323ca391312b981a5017e450132c0
minstrel_ht: remove unnecessary NULL check in minstrel_ht_update_caps

If sta is NULL, we will have problems long before we get here...

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Cc: Felix Fietkau <nbd@openwrt.org>
net/mac80211/rc80211_minstrel_ht.c