Commit c49d3180 authored by Colin Ian King's avatar Colin Ian King Committed by Greg Kroah-Hartman
Browse files

net: rtnetlink: remove redundant assignment to variable err



[ Upstream commit 7d311801 ]

The variable err is being initializeed 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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: bf29555f ("rtnetlink: Allow deleting FDB entries in user namespace")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fdc82178
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment