From: Vasanthakumar Thiagarajan Date: Tue, 14 Feb 2012 15:03:00 +0000 (+0530) Subject: ath6kl: Remove bogus non-NULL pointer check X-Git-Tag: v3.4-rc1~177^2~48^2~55^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc4d623de46616825d9330467e0a7375835171be;p=pandora-kernel.git ath6kl: Remove bogus non-NULL pointer check In ath6kl_cfg80211_add_key(), params is checked for non-NULL but this pointer has been deferenced many times before this check. This gives the following smatch warning. add_key() can never carry NULL as params, remove this bogus check. ath6kl_cfg80211_add_key(86) warn: variable dereferenced before check 'params' Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Kalle Valo --- Reading git-diff-tree failed