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

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

 



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




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux