[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ae1d58d3-3dac-14c2-9e10-047ffcbe8c99@huawei.com>
Date: Wed, 22 Jul 2020 16:59:36 +0100
From: John Garry <john.garry@...wei.com>
To: Colin King <colin.king@...onical.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
<linux-scsi@...r.kernel.org>
CC: <kernel-janitors@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] scsi: libsas: remove redundant assignment to variable res
On 22/07/2020 16:44, Colin King wrote:
> From: Colin Ian King<colin.king@...onical.com>
>
> The variable res is being initialized with a value that is
> never read and it is being updated later with a new value. The
> initialization is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King<colin.king@...onical.com>
Reviewed-by: John Garry <john.garry@...wei.com>
Powered by blists - more mailing lists