[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166200877446.26143.13066314512957622241.b4-ty@oracle.com>
Date: Thu, 1 Sep 2022 01:12:48 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: linux-scsi@...r.kernel.org,
Colin Ian King <colin.i.king@...il.com>,
Sathya Prakash <sathya.prakash@...adcom.com>,
Sreekanth Reddy <sreekanth.reddy@...adcom.com>,
Suganath Prabu Subramani
<suganath-prabu.subramani@...adcom.com>,
MPT-FusionLinux.pdl@...adcom.com
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] scsi: message: fusion: remove redundant variable iocnum
On Fri, 5 Aug 2022 12:32:14 +0100, Colin Ian King wrote:
> Variable iocnum is assigned a value that is never read, the assignment
> and hence the variable are redundant can be removed. Also update the
> the comment to reflect the correct name of the variable being updated.
>
> Cleans up clang-scan warning:
> drivers/message/fusion/mptctl.c:641:8: warning: Although the value stored
> to 'iocnum' is used in the enclosing expression, the value is never
> actually read from 'iocnum' [deadcode.DeadStores]
>
> [...]
Applied to 6.1/scsi-queue, thanks!
[1/1] scsi: message: fusion: remove redundant variable iocnum
https://git.kernel.org/mkp/scsi/c/231159f33436
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists