netfilter: nftables: remove redundant assignment of variable err
authorColin Ian King <colin.king@canonical.com>
Thu, 28 Jan 2021 17:59:23 +0000 (17:59 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 6 Feb 2021 01:43:07 +0000 (02:43 +0100)
commit626899a02e6afcd4b2ce5c0551092e3554cec4aa
tree5245443de566a7b0157961a1eef82a3510411189
parent08a01c11a5bb3de9b0a9c9b2685867e50eda9910
netfilter: nftables: remove redundant assignment of variable err

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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_cmp.c