wifi: brcmsmac: ampdu: remove unused suc_mpdu variable
authorTom Rix <trix@redhat.com>
Mon, 27 Mar 2023 15:11:51 +0000 (11:11 -0400)
committerKalle Valo <kvalo@kernel.org>
Fri, 31 Mar 2023 14:53:50 +0000 (17:53 +0300)
commit2f73f04b7f93f031c94a5c473dd9b7f1cdf91bc0
treee7929eff11a2f4a3f50c55f1403a2bfdf953d29c
parent5dbe1f8eb8c5ac69394400a5b86fd81775e96c43
wifi: brcmsmac: ampdu: remove unused suc_mpdu variable

clang with W=1 reports
drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c:848:5: error: variable
  'suc_mpdu' set but not used [-Werror,-Wunused-but-set-variable]
        u8 suc_mpdu = 0, tot_mpdu = 0;
           ^
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/20230327151151.1771350-1-trix@redhat.com
drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c