Skip to content
Snippets Groups Projects
Commit 672e2477 authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller
Browse files

ipv6: remove redundant assignment to variable err


The variable err is being initialized 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>
parent 7dba9203
No related branches found
No related tags found
No related merge requests found
......@@ -434,7 +434,7 @@ static struct genl_family seg6_genl_family __ro_after_init = {
int __init seg6_init(void)
{
int err = -ENOMEM;
int err;
err = genl_register_family(&seg6_genl_family);
if (err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment