Skip to content

Commit

Permalink
tipc: Remove unused domain argument from multicast send routine
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Allan Stephens authored and David S. Miller committed Dec 2, 2010
1 parent a5c2af9 commit 38f232e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion net/tipc/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion net/tipc/port.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion net/tipc/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 38f232e

Please sign in to comment.