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

From: Martin K. Petersen
Date: Thu Apr 01 2021 - 23:54:47 EST


On Sat, 27 Mar 2021 23:06:50 +0000, 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.13/scsi-queue, thanks!

[1/1] scsi: qedi: emove redundant assignment to variable err
https://git.kernel.org/mkp/scsi/c/8dc602529681

--
Martin K. Petersen Oracle Linux Engineering