]> git.karo-electronics.de Git - linux-beck.git/commitdiff
tipc: Remove unused domain argument from multicast send routine
authorAllan Stephens <Allan.Stephens@windriver.com>
Tue, 30 Nov 2010 12:00:59 +0000 (12:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2010 21:34:04 +0000 (13:34 -0800)
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>
net/tipc/port.c
net/tipc/port.h
net/tipc/socket.c

index e822117b79ad175cfa61626c6af9cd867465756d..01dcfeea1ec473e80d73459395527013bc65e1f3 100644 (file)
@@ -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;
index 547cd6e0031230fae9d6d4ea36e8889b44def484..711b4a0fa4439004325e84b26f1d01c000ff41f3 100644 (file)
@@ -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,
index 23a12e44347ff5e7a93d42815dc48c1ed121312d..34f96eda5fa34b2014f8370e12ed114038afab01 100644 (file)
@@ -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);
                }