summaryrefslogtreecommitdiff
path: root/net/tipc/port.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2008-03-06 15:05:07 -0800
committerDavid S. Miller <davem@davemloft.net>2008-03-06 15:05:07 -0800
commit8c8696553aa3895c2ad4289537e4af45a8877b62 (patch)
tree652981cb99b1300cc56d939f8f5c2997f4054b52 /net/tipc/port.c
parentf59d43899e279c77924a7ada4bec8c70e5aeca06 (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.c7
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,
return buf;
}
-int tipc_set_msg_option(struct tipc_port *tp_ptr, const char *opt, const u32 sz)
-{
- msg_expand(&tp_ptr->phdr, msg_destnode(&tp_ptr->phdr));
- msg_set_options(&tp_ptr->phdr, opt, sz);
- return TIPC_OK;
-}
-
int tipc_reject_msg(struct sk_buff *buf, u32 err)
{
struct tipc_msg *msg = buf_msg(buf);