Skip to content

Commit

Permalink
[ROSE] rose_add_loopback_node: propagate -E
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Dec 3, 2006
1 parent 1863f09 commit 0506d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/rose/rose_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ int rose_add_loopback_neigh(void)
int rose_add_loopback_node(rose_address *address)
{
struct rose_node *rose_node;
unsigned int err = 0;
int err = 0;

spin_lock_bh(&rose_node_list_lock);

Expand Down Expand Up @@ -432,7 +432,7 @@ int rose_add_loopback_node(rose_address *address)
out:
spin_unlock_bh(&rose_node_list_lock);

return 0;
return err;
}

/*
Expand Down

0 comments on commit 0506d40

Please sign in to comment.