diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/rose/rose_route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rose/rose_route.c b/net/rose/rose_route.c index a22542fa1bc8..7252344779a0 100644 --- a/net/rose/rose_route.c +++ b/net/rose/rose_route.c | |||
@@ -396,7 +396,7 @@ int rose_add_loopback_neigh(void) | |||
396 | int rose_add_loopback_node(rose_address *address) | 396 | int rose_add_loopback_node(rose_address *address) |
397 | { | 397 | { |
398 | struct rose_node *rose_node; | 398 | struct rose_node *rose_node; |
399 | unsigned int err = 0; | 399 | int err = 0; |
400 | 400 | ||
401 | spin_lock_bh(&rose_node_list_lock); | 401 | spin_lock_bh(&rose_node_list_lock); |
402 | 402 | ||
@@ -432,7 +432,7 @@ int rose_add_loopback_node(rose_address *address) | |||
432 | out: | 432 | out: |
433 | spin_unlock_bh(&rose_node_list_lock); | 433 | spin_unlock_bh(&rose_node_list_lock); |
434 | 434 | ||
435 | return 0; | 435 | return err; |
436 | } | 436 | } |
437 | 437 | ||
438 | /* | 438 | /* |