Re: [PATCH] scsi: target: core: remove unused prod_len variable
From: Martin K. Petersen
Date: Tue Apr 11 2023 - 22:05:31 EST
On Wed, 29 Mar 2023 09:24:21 -0400, Tom Rix wrote:
> clang with W=1 reports
> drivers/target/target_core_spc.c:229:6: error: variable
> 'prod_len' set but not used [-Werror,-Wunused-but-set-variable]
> u32 prod_len;
> ^
> This variable is not used so remove it.
>
> [...]
Applied to 6.4/scsi-queue, thanks!
[1/1] scsi: target: core: remove unused prod_len variable
https://git.kernel.org/mkp/scsi/c/aa4d7812cf2c
--
Martin K. Petersen Oracle Linux Engineering