diff options
Diffstat (limited to 'net/tipc/bcast.c')
-rw-r--r-- | net/tipc/bcast.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tipc/bcast.c b/net/tipc/bcast.c index 9de32564984a..99a1469e300a 100644 --- a/net/tipc/bcast.c +++ b/net/tipc/bcast.c | |||
@@ -103,9 +103,9 @@ struct bclink { | |||
103 | }; | 103 | }; |
104 | 104 | ||
105 | 105 | ||
106 | static struct bcbearer *bcbearer = NULL; | 106 | static struct bcbearer *bcbearer; |
107 | static struct bclink *bclink = NULL; | 107 | static struct bclink *bclink; |
108 | static struct link *bcl = NULL; | 108 | static struct link *bcl; |
109 | static DEFINE_SPINLOCK(bc_lock); | 109 | static DEFINE_SPINLOCK(bc_lock); |
110 | 110 | ||
111 | /* broadcast-capable node map */ | 111 | /* broadcast-capable node map */ |
@@ -425,7 +425,7 @@ int tipc_bclink_send_msg(struct sk_buff *buf) | |||
425 | void tipc_bclink_recv_pkt(struct sk_buff *buf) | 425 | void tipc_bclink_recv_pkt(struct sk_buff *buf) |
426 | { | 426 | { |
427 | #if (TIPC_BCAST_LOSS_RATE) | 427 | #if (TIPC_BCAST_LOSS_RATE) |
428 | static int rx_count = 0; | 428 | static int rx_count; |
429 | #endif | 429 | #endif |
430 | struct tipc_msg *msg = buf_msg(buf); | 430 | struct tipc_msg *msg = buf_msg(buf); |
431 | struct tipc_node *node = tipc_node_find(msg_prevnode(msg)); | 431 | struct tipc_node *node = tipc_node_find(msg_prevnode(msg)); |