commit | a6e492b9b5d323ca391312b981a5017e450132c0 | [log] [tgz] |
---|---|---|
author | John W. Linville <linville@tuxdriver.com> | Thu Jul 22 15:24:56 2010 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Jul 26 15:09:04 2010 -0400 |
tree | 7e7efffaabb483101a3b544a2fd8e49eeb5016a7 | |
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>