From: Simon Horman <simon.horman@corigine•com>
To: Tom Rix <trix@redhat•com>
Cc: aspriel@gmail•com, franky.lin@broadcom•com,
hante.meuleman@broadcom•com, kvalo@kernel•org,
davem@davemloft•net, edumazet@google•com, kuba@kernel•org,
pabeni@redhat•com, nathan@kernel•org, ndesaulniers@google•com,
johannes.berg@intel•com, quic_srirrama@quicinc•com,
alexander@wetzel-home•de, shaul.triebitz@intel•com,
linux-wireless@vger•kernel.org,
brcm80211-dev-list.pdl@broadcom•com,
SHA-cyfmac-dev-list@infineon•com, netdev@vger•kernel.org,
linux-kernel@vger•kernel.org, llvm@lists•linux.dev
Subject: Re: [PATCH] wifi: mac80211: remove unused has_5g variable
Date: Sat, 25 Mar 2023 16:58:49 +0100 [thread overview]
Message-ID: <ZB8aOahMb4PQoGQK@corigine.com> (raw)
In-Reply-To: <20230325130343.1334209-1-trix@redhat.com>
On Sat, Mar 25, 2023 at 09:03:43AM -0400, Tom Rix wrote:
> 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>
next prev parent reply other threads:[~2023-03-25 15:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-25 13:03 [PATCH] wifi: mac80211: remove unused has_5g variable Tom Rix
2023-03-25 15:58 ` Simon Horman [this message]
2023-03-31 14:50 ` wifi: brcmsmac: " Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZB8aOahMb4PQoGQK@corigine.com \
--to=simon.horman@corigine$(echo .)com \
--cc=SHA-cyfmac-dev-list@infineon$(echo .)com \
--cc=alexander@wetzel-home$(echo .)de \
--cc=aspriel@gmail$(echo .)com \
--cc=brcm80211-dev-list.pdl@broadcom$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=edumazet@google$(echo .)com \
--cc=franky.lin@broadcom$(echo .)com \
--cc=hante.meuleman@broadcom$(echo .)com \
--cc=johannes.berg@intel$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=kvalo@kernel$(echo .)org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-wireless@vger$(echo .)kernel.org \
--cc=llvm@lists$(echo .)linux.dev \
--cc=nathan@kernel$(echo .)org \
--cc=ndesaulniers@google$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=quic_srirrama@quicinc$(echo .)com \
--cc=shaul.triebitz@intel$(echo .)com \
--cc=trix@redhat$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox