Re: [PATCH] scsi: st: remove redundant variable pointer stp

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

 



On Fri, 5 Aug 2022 12:56:52 +0100, Colin Ian King wrote:

> Variable stp is assigned a value that is never read, the assignment
> and the variable stp are redundant and can be removed.
> 
> Cleans up clang scan build warning:
> drivers/scsi/st.c:4253:7: warning: Although the value stored to 'stp'
> is used in the enclosing expression, the value is never actually
> read from 'stp' [deadcode.DeadStores]
> 
> [...]

Applied to 6.1/scsi-queue, thanks!

[1/1] scsi: st: remove redundant variable pointer stp
      https://git.kernel.org/mkp/scsi/c/f0ee639adb78

-- 
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