Messages in this thread | | | Subject | Re: [PATCH] scsi: snic: remove unused xfer_len variable | From | "Martin K. Petersen" <> | Date | Sun, 02 Apr 2023 21:47:46 -0400 |
| |
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
| |