Re: [PATCH] scsi: 3w-sas: remove unneeded variable 'retval'

From: Martin K. Petersen
Date: Thu Mar 18 2021 - 23:48:22 EST


On Tue, 9 Mar 2021 14:41:04 +0800, Yang Li wrote:

> Fix the following coccicheck warning:
> ./drivers/scsi/3w-sas.c:866:5-11: Unneeded variable: "retval". Return
> "1" on line 898

Applied to 5.13/scsi-queue, thanks!

[1/1] scsi: 3w-sas: remove unneeded variable 'retval'
https://git.kernel.org/mkp/scsi/c/2af0bf34ae1f

--
Martin K. Petersen Oracle Linux Engineering