[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168126077055.185856.5469142120830492047.b4-ty@oracle.com>
Date: Tue, 11 Apr 2023 22:04:48 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: kartilak@...co.com, sebaddel@...co.com, 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: snic: remove unused xfer_len variable
On Mon, 27 Mar 2023 20:16:47 -0400, Tom Rix wrote:
> clang with W=1 reports
> drivers/scsi/snic/snic_scsi.c:490:6: error: variable
> 'xfer_len' set but not used [-Werror,-Wunused-but-set-variable]
> u64 xfer_len = 0;
> ^
> This variable is not used so remove it.
>
> [...]
Applied to 6.4/scsi-queue, thanks!
[1/1] scsi: snic: remove unused xfer_len variable
https://git.kernel.org/mkp/scsi/c/4e0966a48291
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists