Re: [PATCH] scsi: libsas: remove redundant assignment to variable res

From: John Garry
Date: Wed Jul 22 2020 - 12:01:35 EST


On 22/07/2020 16:44, Colin King wrote:
From: Colin Ian King<colin.king@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxx>

Reviewed-by: John Garry <john.garry@xxxxxxxxxx>