diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-03-06 18:06:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-06 18:06:55 -0500 |
commit | 06d82c9191261942ce7873ce4a8735fd2a15e662 (patch) | |
tree | fcb464c6052f5eba9aa0bd1609533b7a246387df /net/tipc/port.c | |
parent | 0e0609bbd2ab39a5964a70b409a5567ebbaf3700 (diff) |
[TIPC]: Minor cleanup of message header code
This patch eliminates some unused or duplicate message header
symbols, and fixes up the comments and/or location of a few
other symbols.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/port.c')
-rw-r--r-- | net/tipc/port.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c index 2a16ca43e953..e2646a96935d 100644 --- a/net/tipc/port.c +++ b/net/tipc/port.c | |||
@@ -242,7 +242,8 @@ u32 tipc_createport_raw(void *usr_handle, | |||
242 | p_ptr->publ.max_pkt = MAX_PKT_DEFAULT; | 242 | p_ptr->publ.max_pkt = MAX_PKT_DEFAULT; |
243 | p_ptr->publ.ref = ref; | 243 | p_ptr->publ.ref = ref; |
244 | msg = &p_ptr->publ.phdr; | 244 | msg = &p_ptr->publ.phdr; |
245 | msg_init(msg, DATA_LOW, TIPC_NAMED_MSG, TIPC_OK, LONG_H_SIZE, 0); | 245 | msg_init(msg, TIPC_LOW_IMPORTANCE, TIPC_NAMED_MSG, TIPC_OK, LONG_H_SIZE, |
246 | 0); | ||
246 | msg_set_orignode(msg, tipc_own_addr); | 247 | msg_set_orignode(msg, tipc_own_addr); |
247 | msg_set_prevnode(msg, tipc_own_addr); | 248 | msg_set_prevnode(msg, tipc_own_addr); |
248 | msg_set_origport(msg, ref); | 249 | msg_set_origport(msg, ref); |
@@ -625,7 +626,7 @@ void tipc_port_recv_proto_msg(struct sk_buff *buf) | |||
625 | msg_orignode(msg), | 626 | msg_orignode(msg), |
626 | msg_destport(msg), | 627 | msg_destport(msg), |
627 | tipc_own_addr, | 628 | tipc_own_addr, |
628 | DATA_HIGH, | 629 | TIPC_HIGH_IMPORTANCE, |
629 | TIPC_CONN_MSG, | 630 | TIPC_CONN_MSG, |
630 | err, | 631 | err, |
631 | 0, | 632 | 0, |