mac80211: minstrel_ht: remove unused n_supported variable
authorTom Rix <trix@redhat.com>
Sat, 25 Mar 2023 13:26:10 +0000 (09:26 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 30 Mar 2023 09:21:17 +0000 (11:21 +0200)
commit968a768d28530cadd13aab51531f8fec70bf9eae
tree9da13bfa8096b6743cea369caa1d7634bbbbb4f4
parent6cf882d9aa9e8f1f2d63182e179ac4b2e59c00db
mac80211: minstrel_ht: remove unused n_supported variable

clang with W=1 reports
net/mac80211/rc80211_minstrel_ht.c:1711:6: error: variable
  'n_supported' set but not used [-Werror,-Wunused-but-set-variable]
        int n_supported = 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>
Link: https://lore.kernel.org/r/20230325132610.1334820-1-trix@redhat.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c