From: Dan Carpenter Date: Fri, 13 Apr 2012 19:27:18 +0000 (+0300) Subject: ath6kl: list_first_entry() is never NULL X-Git-Tag: v3.5-rc1~101^2~6^2^2~84^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebc6a5332f69c3ce2b071015817fb1cb149217c1;p=pandora-kernel.git ath6kl: list_first_entry() is never NULL We can remove the NULL check here. It triggers a Smatch warning because list_first_entry() never is NULL and people who check for it normally intend to check for list_empty() instead. In these cases however, we've already verified that the lists are not empty. Signed-off-by: Dan Carpenter Signed-off-by: Kalle Valo --- Reading git-diff-tree failed