Re: [PATCH] scsi: 53c700: Remove set but not used variable

From: Martin K. Petersen
Date: Tue Oct 13 2020 - 18:43:56 EST


On Fri, 18 Sep 2020 15:14:22 +0800, Zheng Yongjun wrote:

> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/scsi/53c700.c: In function NCR_700_intr:
> drivers/scsi/53c700.c:1488:27: warning: variable ‘state’ set but not used [-Wunused-but-set-variable]
>
> drivers/scsi/53c700.c: In function NCR_700_queuecommand_lck:
> drivers/scsi/53c700.c:1742:26: warning: variable ‘direction’ set but not used [-Wunused-but-set-variable]
>
> [...]

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: 53c700: Remove set but not used variable
https://git.kernel.org/mkp/scsi/c/ffab5e016b9b

--
Martin K. Petersen Oracle Linux Engineering