[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 7 Jul 2022 17:47:21 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Colin Ian King <colin.i.king@...il.com>,
linux-scsi@...r.kernel.org, Hannes Reinecke <hare@...e.de>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: fcoe: remove redundant assignment to variable wlen
On Thu, 23 Jun 2022 17:47:10 +0100, Colin Ian King wrote:
> Variable wlen is being assigned a value that is never read, it is
> being re-assigned with a different value later on. The assignment
> is redundant and can be removed.
>
> Cleans up clang scan build warning:
> drivers/scsi/fcoe/fcoe.c:1491:2: warning: Value stored to 'wlen'
> is never read [deadcode.DeadStores]
>
> [...]
Applied to 5.20/scsi-queue, thanks!
[1/1] scsi: fcoe: remove redundant assignment to variable wlen
https://git.kernel.org/mkp/scsi/c/07f0c8aff551
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists