diff options
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r-- | net/tipc/node.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 8a4b04933ecc..7b0c99347406 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -883,11 +883,9 @@ void tipc_node_delete_links(struct net *net, int bearer_id) | |||
883 | 883 | ||
884 | static void tipc_node_reset_links(struct tipc_node *n) | 884 | static void tipc_node_reset_links(struct tipc_node *n) |
885 | { | 885 | { |
886 | char addr_string[16]; | ||
887 | int i; | 886 | int i; |
888 | 887 | ||
889 | pr_warn("Resetting all links to %s\n", | 888 | pr_warn("Resetting all links to %x\n", n->addr); |
890 | tipc_addr_string_fill(addr_string, n->addr)); | ||
891 | 889 | ||
892 | for (i = 0; i < MAX_BEARERS; i++) { | 890 | for (i = 0; i < MAX_BEARERS; i++) { |
893 | tipc_node_link_down(n, i, false); | 891 | tipc_node_link_down(n, i, false); |
@@ -1074,15 +1072,13 @@ illegal_evt: | |||
1074 | static void node_lost_contact(struct tipc_node *n, | 1072 | static void node_lost_contact(struct tipc_node *n, |
1075 | struct sk_buff_head *inputq) | 1073 | struct sk_buff_head *inputq) |
1076 | { | 1074 | { |
1077 | char addr_string[16]; | ||
1078 | struct tipc_sock_conn *conn, *safe; | 1075 | struct tipc_sock_conn *conn, *safe; |
1079 | struct tipc_link *l; | 1076 | struct tipc_link *l; |
1080 | struct list_head *conns = &n->conn_sks; | 1077 | struct list_head *conns = &n->conn_sks; |
1081 | struct sk_buff *skb; | 1078 | struct sk_buff *skb; |
1082 | uint i; | 1079 | uint i; |
1083 | 1080 | ||
1084 | pr_debug("Lost contact with %s\n", | 1081 | pr_debug("Lost contact with %x\n", n->addr); |
1085 | tipc_addr_string_fill(addr_string, n->addr)); | ||
1086 | 1082 | ||
1087 | /* Clean up broadcast state */ | 1083 | /* Clean up broadcast state */ |
1088 | tipc_bcast_remove_peer(n->net, n->bc_entry.link); | 1084 | tipc_bcast_remove_peer(n->net, n->bc_entry.link); |