diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-03-06 18:05:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-06 18:05:07 -0500 |
commit | 8c8696553aa3895c2ad4289537e4af45a8877b62 (patch) | |
tree | 652981cb99b1300cc56d939f8f5c2997f4054b52 /net/tipc/port.c | |
parent | f59d43899e279c77924a7ada4bec8c70e5aeca06 (diff) |
[TIPC]: Removal of message header option code
This patch removes code associated with optional, user-specified
fields of the TIPC message header. Such fields were never
utilized by TIPC, and have now been removed from the protocol
specification.
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 | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c index f508614ca59b..2a16ca43e953 100644 --- a/net/tipc/port.c +++ b/net/tipc/port.c | |||
@@ -413,13 +413,6 @@ static struct sk_buff *port_build_proto_msg(u32 destport, u32 destnode, | |||
413 | return buf; | 413 | return buf; |
414 | } | 414 | } |
415 | 415 | ||
416 | int tipc_set_msg_option(struct tipc_port *tp_ptr, const char *opt, const u32 sz) | ||
417 | { | ||
418 | msg_expand(&tp_ptr->phdr, msg_destnode(&tp_ptr->phdr)); | ||
419 | msg_set_options(&tp_ptr->phdr, opt, sz); | ||
420 | return TIPC_OK; | ||
421 | } | ||
422 | |||
423 | int tipc_reject_msg(struct sk_buff *buf, u32 err) | 416 | int tipc_reject_msg(struct sk_buff *buf, u32 err) |
424 | { | 417 | { |
425 | struct tipc_msg *msg = buf_msg(buf); | 418 | struct tipc_msg *msg = buf_msg(buf); |