diff options
Diffstat (limited to 'net/tipc/node_subscr.c')
-rw-r--r-- | net/tipc/node_subscr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tipc/node_subscr.c b/net/tipc/node_subscr.c index cc3fff3dec4f..8ecbd0fb6103 100644 --- a/net/tipc/node_subscr.c +++ b/net/tipc/node_subscr.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * net/tipc/node_subscr.c: TIPC "node down" subscription handling | 2 | * net/tipc/node_subscr.c: TIPC "node down" subscription handling |
3 | * | 3 | * |
4 | * Copyright (c) 1995-2006, Ericsson AB | 4 | * Copyright (c) 1995-2006, Ericsson AB |
5 | * Copyright (c) 2005, Wind River Systems | 5 | * Copyright (c) 2005, Wind River Systems |
6 | * All rights reserved. | 6 | * All rights reserved. |
@@ -44,14 +44,14 @@ | |||
44 | * tipc_nodesub_subscribe - create "node down" subscription for specified node | 44 | * tipc_nodesub_subscribe - create "node down" subscription for specified node |
45 | */ | 45 | */ |
46 | 46 | ||
47 | void tipc_nodesub_subscribe(struct node_subscr *node_sub, u32 addr, | 47 | void tipc_nodesub_subscribe(struct node_subscr *node_sub, u32 addr, |
48 | void *usr_handle, net_ev_handler handle_down) | 48 | void *usr_handle, net_ev_handler handle_down) |
49 | { | 49 | { |
50 | if (addr == tipc_own_addr) { | 50 | if (addr == tipc_own_addr) { |
51 | node_sub->node = NULL; | 51 | node_sub->node = NULL; |
52 | return; | 52 | return; |
53 | } | 53 | } |
54 | 54 | ||
55 | node_sub->node = tipc_node_find(addr); | 55 | node_sub->node = tipc_node_find(addr); |
56 | if (!node_sub->node) { | 56 | if (!node_sub->node) { |
57 | warn("Node subscription rejected, unknown node 0x%x\n", addr); | 57 | warn("Node subscription rejected, unknown node 0x%x\n", addr); |