diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-07-22 15:24:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-26 15:09:04 -0400 |
commit | a6e492b9b5d323ca391312b981a5017e450132c0 (patch) | |
tree | 7e7efffaabb483101a3b544a2fd8e49eeb5016a7 /net/mac80211/rc80211_minstrel_ht.c | |
parent | 6cb8755bbc72634d5df06fc54080812ee50009df (diff) |
iwlwifi: assume vif is NULL for internal scans and non-NULL otherwise
The current practice of checking vif for NULL in one place but not
another seems to confuse some static checkers, smatch in particular.
Since vif will only be NULL in the case of internal scans, adjust the
checks accordingly.
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel_ht.c')
0 files changed, 0 insertions, 0 deletions