scsi: st: Remove redundant variable pointer stp
authorColin Ian King <colin.i.king@gmail.com>
Fri, 5 Aug 2022 11:56:52 +0000 (12:56 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 1 Sep 2022 03:39:57 +0000 (23:39 -0400)
commitf0ee639adb78753377da3d125d7d72531026bca1
tree124a0e6349bee4aaf05deb3d2f02b5a6041a36af
parent4e62671a9a49c0f226311cbac08cdb64e905ab47
scsi: st: Remove redundant variable pointer stp

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]

Link: https://lore.kernel.org/r/20220805115652.2340991-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/st.c