summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath6kl/debug.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-04-13 22:27:18 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2012-04-16 09:32:04 +0300
commitebc6a5332f69c3ce2b071015817fb1cb149217c1 (patch)
tree65b7f2284b8786809298e3bb6a2a858d8607ba27 /drivers/net/wireless/ath/ath6kl/debug.c
parent2023dbb8310ab39ac1119a32ef52405f7a73f51f (diff)
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 <dan.carpenter@oracle.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/debug.c')
0 files changed, 0 insertions, 0 deletions