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.
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
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
3 matches
Mail list logo