[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168126077051.185856.10735162740064848274.b4-ty@oracle.com>
Date: Tue, 11 Apr 2023 22:04:47 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: jejb@...ux.ibm.com, nathan@...nel.org, ndesaulniers@...gle.com,
Tom Rix <trix@...hat.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] scsi: scsi_transport_fc: remove unused desc_cnt variable
On Sat, 25 Mar 2023 20:32:22 -0400, Tom Rix wrote:
> 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-queue, thanks!
[1/1] scsi: scsi_transport_fc: remove unused desc_cnt variable
https://git.kernel.org/mkp/scsi/c/e324dd00fd17
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists