From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Tom Rix <trix@redhat.com>
Cc: jejb@linux.ibm.com, martin.petersen@oracle.com,
nathan@kernel.org, ndesaulniers@google.com,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
llvm@lists.linux.dev
Subject: Re: [PATCH] scsi: scsi_transport_fc: remove unused desc_cnt variable
Date: Sun, 02 Apr 2023 21:38:13 -0400 [thread overview]
Message-ID: <yq1y1n9wxs0.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20230326003222.1343671-1-trix@redhat.com> (Tom Rix's message of "Sat, 25 Mar 2023 20:32:22 -0400")
Tom,
> clang with W=1 reports
> drivers/scsi/scsi_transport_fc.c:908:6: error: variable
> 'desc_cnt' set but not used [-Werror,-Wunused-but-set-variable]
> u32 desc_cnt = 0, bytes_remain;
> ^
> This variable is not used so remove it.
Applied to 6.4/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2023-04-03 1:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-26 0:32 [PATCH] scsi: scsi_transport_fc: remove unused desc_cnt variable Tom Rix
2023-03-27 18:02 ` Himanshu Madhani
2023-03-30 14:29 ` Benjamin Block
2023-04-03 1:38 ` Martin K. Petersen [this message]
2023-04-12 2:04 ` Martin K. Petersen
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=yq1y1n9wxs0.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=trix@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).