[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166200877449.26143.10151427977661548145.b4-ty@oracle.com>
Date: Thu, 1 Sep 2022 01:12:49 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Kai Mäkisara <Kai.Makisara@...umbus.fi>,
linux-scsi@...r.kernel.org,
Colin Ian King <colin.i.king@...il.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] scsi: st: remove redundant variable pointer stp
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
Powered by blists - more mailing lists