ath6kl: remove redundant null pointer check on send_pkt
authorColin Ian King <colin.king@canonical.com>
Mon, 7 Sep 2015 13:49:05 +0000 (14:49 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 9 Oct 2015 08:44:47 +0000 (11:44 +0300)
commit101d1f7fbf7dbb881f808c0fdc23124051ac5da6
tree4e409242b6856c7c776a8c5ee7c6df287186b948
parentf13e0630826f961732f3192282a6c249bb6208c1
ath6kl: remove redundant null pointer check on send_pkt

The check for send_pkt being NULL is redundant before the call
to htc_reclaim_txctrl_buf, therefore it should be removed. This was
detected by static analysis by cppcheck.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/htc_mbox.c