projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1863f09
)
[ROSE] rose_add_loopback_node: propagate -E
author
Alexey Dobriyan
<adobriyan@gmail.com>
Sun, 3 Dec 2006 06:17:48 +0000
(22:17 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 3 Dec 2006 06:17:48 +0000
(22:17 -0800)
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>
net/rose/rose_route.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rose/rose_route.c
b/net/rose/rose_route.c
index a22542fa1bc848cedef82a914a49f40ededae771..7252344779a0c73cf699e53a82e7b85651b2e234 100644
(file)
--- a/
net/rose/rose_route.c
+++ b/
net/rose/rose_route.c
@@
-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);
@@
-432,7
+432,7
@@
int rose_add_loopback_node(rose_address *address)
out:
spin_unlock_bh(&rose_node_list_lock);
- return
0
;
+ return
err
;
}
/*