Skip to content
Commit cd962806 authored by Colin Ian King's avatar Colin Ian King Committed by Greg Kroah-Hartman
Browse files

netfilter: nftables: remove redundant assignment of variable err

[ Upstream commit 626899a0

 ]

The variable err is being assigned a value that is never read,
the same error number is being returned at the error return
path via label err1.  Clean up the code by removing the assignment.

Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 35519ce7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment