ath11k: remove an unneeded NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Dec 2019 10:52:19 +0000 (13:52 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 18 Dec 2019 17:56:26 +0000 (19:56 +0200)
commit269663f18474b739fcf45389c8fea82de3332e2f
treecca7e11cb290dd7bfe8a3380c785a5b29c4e8f85
parentc76fa846b0e1a1cdf6fa1e04c0c3985411cc973d
ath11k: remove an unneeded NULL check

The list iterator is always non-NULL so it doesn't need to be checked.
I also removed the unnecessary initializer because the list iterator is
always initialized.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/dp_rx.c