ath10k: remove redundant pointers 'dev' and 'noa'
commite6712aa1244fe7b53776858b73bfd1a94a198681
authorColin Ian King <colin.king@canonical.com>
Mon, 9 Jul 2018 12:34:46 +0000 (9 13:34 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Jul 2018 17:54:05 +0000 (30 20:54 +0300)
tree126ea76c416ede41bfa5325d8835fc10cfa73e7e
parentdc405152bb64d4ae01c9ac669de25b2d1fb6fc2d
ath10k: remove redundant pointers 'dev' and 'noa'

Pointers dev and noa are being assigned but are never used hence they
are redundant and can be removed.

Cleans up clang warnings:
warning: variable 'dev' set but not used [-Wunused-but-set-variable]
warning: variable 'noa' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/ahb.c
drivers/net/wireless/ath/ath10k/wmi-tlv.c