[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3be6287a-9ac3-2837-11b2-a0270522a607@gmail.com>
Date: Fri, 18 Jun 2021 15:50:27 -0700
From: James Smart <jsmart2021@...il.com>
To: Colin King <colin.king@...onical.com>,
James Smart <james.smart@...adcom.com>,
Ram Vegesna <ram.vegesna@...adcom.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
Hannes Reinecke <hare@...e.de>, linux-scsi@...r.kernel.org,
target-devel@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] scsi: elx: efct: remove redundant initialization of
variable lun
On 6/16/2021 10:16 AM, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable lun is being initialized with a value that is never
> read, it is being updated later on. The assignment is redundant and
> can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/scsi/elx/efct/efct_unsol.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Thanks
Reviewed-by: James Smart <jsmart2021@...il.com>
-- james
Powered by blists - more mailing lists