Re: [PATCH] scsi: snic: remove unused xfer_len variable

From: Martin K. Petersen
Date: Sun Apr 02 2023 - 21:48:10 EST



Tom,

> 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-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering