OSDN Git Service

wifi: mwifiex: remove unused evt_buf variable
authorTom Rix <trix@redhat.com>
Wed, 29 Mar 2023 13:14:44 +0000 (09:14 -0400)
committerKalle Valo <kvalo@kernel.org>
Fri, 31 Mar 2023 14:54:12 +0000 (17:54 +0300)
commit074d0a1ae1fefce3dfe73bdda855e62eb8eb2a78
tree392b97b86c109bf7df823497fad9efd0eac6d9c2
parent2f73f04b7f93f031c94a5c473dd9b7f1cdf91bc0
wifi: mwifiex: remove unused evt_buf variable

clang with W=1 reports
drivers/net/wireless/marvell/mwifiex/11h.c:198:6: error: variable
  'evt_buf' set but not used [-Werror,-Wunused-but-set-variable]
        u8 *evt_buf;
            ^
This variable is not used so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230329131444.1809018-1-trix@redhat.com
drivers/net/wireless/marvell/mwifiex/11h.c