]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: remove an unnecessary NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 20 Dec 2018 07:53:45 +0000 (09:53 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Dec 2018 17:06:40 +0000 (19:06 +0200)
commitaf310c384012c2313eab4dc34ed574e56c0ca7d4
tree30b3e3d91e53b91a2b6243fa2a528c45bbe4e8fd
parent7672cac833dc2908d793a7039c43be56cc30d510
ath10k: remove an unnecessary NULL check

The "survey" pointer is the address of an array element.  We know that
it can't be NULL so this check can be removed.

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