aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/port.c
diff options
context:
space:
mode:
authorAllan Stephens <Allan.Stephens@windriver.com>2010-12-31 13:59:34 -0500
committerDavid S. Miller <davem@davemloft.net>2011-01-01 16:57:57 -0500
commite3ec9c7d5eea9adf2c604c623c987360cc700b88 (patch)
tree0f17da131a7af8c66383d5a7f4bfa169f5b7e444 /net/tipc/port.c
parent2db9983a4318818845193bd577879c0620705e82 (diff)
tipc: remove zeroing assignments to static global variables
Cleans up TIPC's source code to eliminate the needless initialization of static variables to zero. These changes are purely cosmetic and do not alter the operation of TIPC in any way. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/port.c')
-rw-r--r--net/tipc/port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c
index 78fcb75bb08..c23f3380d0a 100644
--- a/net/tipc/port.c
+++ b/net/tipc/port.c
@@ -46,8 +46,8 @@
46 46
47#define MAX_REJECT_SIZE 1024 47#define MAX_REJECT_SIZE 1024
48 48
49static struct sk_buff *msg_queue_head = NULL; 49static struct sk_buff *msg_queue_head;
50static struct sk_buff *msg_queue_tail = NULL; 50static struct sk_buff *msg_queue_tail;
51 51
52DEFINE_SPINLOCK(tipc_port_list_lock); 52DEFINE_SPINLOCK(tipc_port_list_lock);
53static DEFINE_SPINLOCK(queue_lock); 53static DEFINE_SPINLOCK(queue_lock);