Re: [PATCH] scsi: target: core: remove unused prod_len variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 3/29/23 06:24, 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.
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx>


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux