diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-11-30 07:00:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-02 16:34:04 -0500 |
commit | 38f232eae20cefed2e2379d77c54babb0de6d024 (patch) | |
tree | 15682682015cb216987596eb0364b61e040c971d | |
parent | a5c2af9922a94a875c5f4b2dcd357a1c399b7ea6 (diff) |
tipc: Remove unused domain argument from multicast send routine
Eliminates an unused argument from tipc_multicast(), now that this
routine can no longer be called by kernel-based applications.
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>
-rw-r--r-- | net/tipc/port.c | 2 | ||||
-rw-r--r-- | net/tipc/port.h | 2 | ||||
-rw-r--r-- | net/tipc/socket.c | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c index e822117b79ad..01dcfeea1ec4 100644 --- a/net/tipc/port.c +++ b/net/tipc/port.c | |||
@@ -88,7 +88,7 @@ static void port_incr_out_seqno(struct port *p_ptr) | |||
88 | * tipc_multicast - send a multicast message to local and remote destinations | 88 | * tipc_multicast - send a multicast message to local and remote destinations |
89 | */ | 89 | */ |
90 | 90 | ||
91 | int tipc_multicast(u32 ref, struct tipc_name_seq const *seq, u32 domain, | 91 | int tipc_multicast(u32 ref, struct tipc_name_seq const *seq, |
92 | u32 num_sect, struct iovec const *msg_sect) | 92 | u32 num_sect, struct iovec const *msg_sect) |
93 | { | 93 | { |
94 | struct tipc_msg *hdr; | 94 | struct tipc_msg *hdr; |
diff --git a/net/tipc/port.h b/net/tipc/port.h index 547cd6e00312..711b4a0fa443 100644 --- a/net/tipc/port.h +++ b/net/tipc/port.h | |||
@@ -235,7 +235,7 @@ int tipc_send2port(u32 portref, struct tipc_portid const *dest, | |||
235 | int tipc_send_buf2port(u32 portref, struct tipc_portid const *dest, | 235 | int tipc_send_buf2port(u32 portref, struct tipc_portid const *dest, |
236 | struct sk_buff *buf, unsigned int dsz); | 236 | struct sk_buff *buf, unsigned int dsz); |
237 | 237 | ||
238 | int tipc_multicast(u32 portref, struct tipc_name_seq const *seq, u32 domain, | 238 | int tipc_multicast(u32 portref, struct tipc_name_seq const *seq, |
239 | unsigned int section_count, struct iovec const *msg); | 239 | unsigned int section_count, struct iovec const *msg); |
240 | 240 | ||
241 | int tipc_port_reject_sections(struct port *p_ptr, struct tipc_msg *hdr, | 241 | int tipc_port_reject_sections(struct port *p_ptr, struct tipc_msg *hdr, |
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 23a12e44347f..34f96eda5fa3 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c | |||
@@ -596,7 +596,6 @@ static int send_msg(struct kiocb *iocb, struct socket *sock, | |||
596 | break; | 596 | break; |
597 | res = tipc_multicast(tport->ref, | 597 | res = tipc_multicast(tport->ref, |
598 | &dest->addr.nameseq, | 598 | &dest->addr.nameseq, |
599 | 0, | ||
600 | m->msg_iovlen, | 599 | m->msg_iovlen, |
601 | m->msg_iov); | 600 | m->msg_iov); |
602 | } | 601 | } |