Commit 0506d406 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by David S. Miller

[ROSE] rose_add_loopback_node: propagate -E

David Binderman's icc logs:
net/rose/rose_route.c(399): remark #593: variable "err" was set but never used
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1863f096
...@@ -396,7 +396,7 @@ int rose_add_loopback_neigh(void) ...@@ -396,7 +396,7 @@ int rose_add_loopback_neigh(void)
int rose_add_loopback_node(rose_address *address) int rose_add_loopback_node(rose_address *address)
{ {
struct rose_node *rose_node; struct rose_node *rose_node;
unsigned int err = 0; int err = 0;
spin_lock_bh(&rose_node_list_lock); spin_lock_bh(&rose_node_list_lock);
...@@ -432,7 +432,7 @@ int rose_add_loopback_node(rose_address *address) ...@@ -432,7 +432,7 @@ int rose_add_loopback_node(rose_address *address)
out: out:
spin_unlock_bh(&rose_node_list_lock); spin_unlock_bh(&rose_node_list_lock);
return 0; return err;
} }
/* /*
......
Markdown is supported
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