]> asedeno.scripts.mit.edu Git - linux.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)
commit27120f2ac995d83fef383fb20e492037ecf09259
tree30b3e3d91e53b91a2b6243fa2a528c45bbe4e8fd
parentbd085be6ba9547795ddcbdc5cc0c78ea0201ba6e
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