From: Allan Stephens Date: Tue, 30 Nov 2010 12:00:59 +0000 (+0000) Subject: tipc: Remove unused domain argument from multicast send routine X-Git-Tag: v2.6.38-rc1~476^2~356 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=38f232eae20cefed2e2379d77c54babb0de6d024;p=~shefty%2Frdma-dev.git 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 Signed-off-by: Paul Gortmaker Signed-off-by: David S. Miller --- diff --git a/net/tipc/port.c b/net/tipc/port.c index e822117b79a..01dcfeea1ec 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) * tipc_multicast - send a multicast message to local and remote destinations */ -int tipc_multicast(u32 ref, struct tipc_name_seq const *seq, u32 domain, +int tipc_multicast(u32 ref, struct tipc_name_seq const *seq, u32 num_sect, struct iovec const *msg_sect) { struct tipc_msg *hdr; diff --git a/net/tipc/port.h b/net/tipc/port.h index 547cd6e0031..711b4a0fa44 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, int tipc_send_buf2port(u32 portref, struct tipc_portid const *dest, struct sk_buff *buf, unsigned int dsz); -int tipc_multicast(u32 portref, struct tipc_name_seq const *seq, u32 domain, +int tipc_multicast(u32 portref, struct tipc_name_seq const *seq, unsigned int section_count, struct iovec const *msg); 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 23a12e44347..34f96eda5fa 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, break; res = tipc_multicast(tport->ref, &dest->addr.nameseq, - 0, m->msg_iovlen, m->msg_iov); }