[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1y1n9wxs0.fsf@ca-mkp.ca.oracle.com>
Date: Sun, 02 Apr 2023 21:38:13 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Tom Rix <trix@...hat.com>
Cc: jejb@...ux.ibm.com, martin.petersen@...cle.com, nathan@...nel.org,
ndesaulniers@...gle.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
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
Powered by blists - more mailing lists