wifi: brcmsmac: remove unused has_5g variable
authorTom Rix <trix@redhat.com>
Sat, 25 Mar 2023 13:03:43 +0000 (09:03 -0400)
committerKalle Valo <kvalo@kernel.org>
Fri, 31 Mar 2023 14:50:33 +0000 (17:50 +0300)
commit5aeb763a27c2b444928639d35cbe94520c405969
tree5bd1650564bfb2d9e7102ee91139497ceccbebec
parent4c7f8c237d322a98026a57f6ba846fc997f165df
wifi: brcmsmac: remove unused has_5g variable

clang with W=1 reports
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c:1051:6: error:
  variable 'has_5g' set but not used [-Werror,-Wunused-but-set-variable]
        int has_5g = 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/20230325130343.1334209-1-trix@redhat.com
drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c