diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-31 15:11:42 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-02 10:09:09 -0400 | 
| commit | c936e76f3c397783b1aad546935fab2df332195a (patch) | |
| tree | b97f7c40ea25946f0e0e0991d2eceafdc9e7ce86 /pimd/pim_sock.h | |
| parent | 25f5f0398766e756fccb562dda7b0d55b86fe7ea (diff) | |
pimd: pim_socket_join_source is only called from one place
The pim_socket_join_source function only ever calls
pim_igmp_join_source and pim_socket_join_source is only
called from 1 place.  Skip the level of indirection.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_sock.h')
| -rw-r--r-- | pimd/pim_sock.h | 2 | 
1 files changed, 0 insertions, 2 deletions
diff --git a/pimd/pim_sock.h b/pimd/pim_sock.h index 98db6fecd7..08b0099321 100644 --- a/pimd/pim_sock.h +++ b/pimd/pim_sock.h @@ -42,8 +42,6 @@ int pim_socket_mcast(int protocol, struct in_addr ifaddr, struct interface *ifp,  		     uint8_t loop);  int pim_socket_join(int fd, struct in_addr group, struct in_addr ifaddr,  		    ifindex_t ifindex); -int pim_socket_join_source(int fd, ifindex_t ifindex, struct in_addr group_addr, -			   struct in_addr source_addr, const char *ifname);  int pim_socket_recvfromto(int fd, uint8_t *buf, size_t len,  			  struct sockaddr_in *from, socklen_t *fromlen,  			  struct sockaddr_in *to, socklen_t *tolen,  | 
