Re: [PATCH] scsi: qedi: emove redundant assignment to variable err

2021-04-01 Thread Martin K. Petersen
On Sat, 27 Mar 2021 23:06:50 +, Colin King wrote: > variable err is assigned -ENOMEM followed by an error return path > via label err_udev that does not access the variable and returns > with the -ENOMEM error return code. The assignment to err is > redundant and can be removed. Applied to 5.

RE: [EXT] [PATCH] scsi: qedi: emove redundant assignment to variable err

2021-03-30 Thread Manish Rangankar
l.org > Cc: kernel-janit...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [EXT] [PATCH] scsi: qedi: emove redundant assignment to variable err > > External Email > > -- > From: Colin Ian King > > va

[PATCH] scsi: qedi: emove redundant assignment to variable err

2021-03-27 Thread Colin King
From: Colin Ian King variable err is assigned -ENOMEM followed by an error return path via label err_udev that does not access the variable and returns with the -ENOMEM error return code. The assignment to err is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: C