From: Simon Horman <simon.horman@corigine•com>
To: Tom Rix <trix@redhat•com>
Cc: jes@trained-monkey•org, davem@davemloft•net, edumazet@google•com,
kuba@kernel•org, pabeni@redhat•com, nathan@kernel•org,
ndesaulniers@google•com, linux-acenic@sunsite•dk,
netdev@vger•kernel.org, linux-kernel@vger•kernel.org,
llvm@lists•linux.dev
Subject: Re: [PATCH] net: alteon: remove unused len variable
Date: Sat, 1 Apr 2023 11:12:36 +0200 [thread overview]
Message-ID: <ZCf1hHTu5AzcH1gU@corigine.com> (raw)
In-Reply-To: <20230331205545.1863496-1-trix@redhat.com>
On Fri, Mar 31, 2023 at 04:55:45PM -0400, Tom Rix wrote:
> clang with W=1 reports
> drivers/net/ethernet/alteon/acenic.c:2438:10: error: variable
> 'len' set but not used [-Werror,-Wunused-but-set-variable]
> int i, len = 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-04-01 9:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-31 20:55 [PATCH] net: alteon: remove unused len variable Tom Rix
2023-04-01 9:12 ` Simon Horman [this message]
2023-04-02 12:50 ` patchwork-bot+netdevbpf
2023-04-02 23:43 ` Jes Sorensen
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=ZCf1hHTu5AzcH1gU@corigine.com \
--to=simon.horman@corigine$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=edumazet@google$(echo .)com \
--cc=jes@trained-monkey$(echo .)org \
--cc=kuba@kernel$(echo .)org \
--cc=linux-acenic@sunsite$(echo .)dk \
--cc=linux-kernel@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=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