Thread (2 messages) flat view 2 messages, 2 authors, 2021-04-17

Re: [PATCH] rtlwifi: remove redundant assignment to variable err

From: Kalle Valo <hidden>
Date: 2021-04-17 17:29:48
Also in: kernel-janitors, linux-wireless, lkml

Colin King [off-list ref] wrote:
From: Colin Ian King <redacted>

Variable err is assigned -ENODEV followed by an error return path
via label error_out that does not access the variable and returns
with the -ENODEV error return code. The assignment to err is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <redacted>
Patch applied to wireless-drivers-next.git, thanks.

87431bc1f0f6 rtlwifi: remove redundant assignment to variable err

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210327230014.25554-1-colin.king@canonical.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help