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

2020-07-24 Thread Martin K. Petersen
On Wed, 22 Jul 2020 16:44:04 +0100, Colin King wrote: > 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. Applied to 5.9/scsi-queue, thanks! [1/1] scsi: libsas: Remove redu

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

2020-07-22 Thread John Garry
On 22/07/2020 16:44, Colin King wrote: From: Colin Ian King 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 Kin

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

2020-07-22 Thread Colin King
From: Colin Ian King 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 --- drivers/scsi/libsas/sas_expander