Re: [PATCH][next] scsi: megaraid: remove redundant assignment to variable retval

From: Martin K. Petersen
Date: Mon Jan 29 2024 - 21:29:03 EST


On Thu, 18 Jan 2024 12:14:41 +0000, Colin Ian King wrote:

> The variable retval is being assigned a value that is not being
> read afterwards. The assignment is redundant and can be removed.
>
> Cleans up clang scan warning:
> Although the value stored to 'retval' is used in the enclosing
> expression, the value is never actually read from 'retval'
> [deadcode.DeadStores]
>
> [...]

Applied to 6.9/scsi-queue, thanks!

[1/1] scsi: megaraid: remove redundant assignment to variable retval
https://git.kernel.org/mkp/scsi/c/9759cdc1bcb8

--
Martin K. Petersen Oracle Linux Engineering