[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: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1863f0965e
commit
0506d4068b
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
out:
|
out:
|
||||||
spin_unlock_bh(&rose_node_list_lock);
|
spin_unlock_bh(&rose_node_list_lock);
|
||||||
|
|
||||||
return 0;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue