From: John W. Linville Date: Thu, 22 Jul 2010 19:24:56 +0000 (-0400) Subject: iwlwifi: assume vif is NULL for internal scans and non-NULL otherwise X-Git-Tag: v2.6.36-rc1~571^2~64^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6e492b9b5d323ca391312b981a5017e450132c0;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed