diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-11-26 17:24:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-26 17:24:38 +0300 |
| commit | fa36b3d1255c0e4868bc62604af2485a6cb574ac (patch) | |
| tree | 51c930b1a45078baef46b0fe40b627fb233e0ce2 /pimd/pim_igmp.c | |
| parent | e44c9059e0ac1a6966f14b7fc3ae789554792a46 (diff) | |
| parent | b850813975cefb317b0b19e4d06f919ad90db8be (diff) | |
Merge pull request #10126 from SaiGomathiN/cleanup
pimd: removing no caller functions
Diffstat (limited to 'pimd/pim_igmp.c')
| -rw-r--r-- | pimd/pim_igmp.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pimd/pim_igmp.c b/pimd/pim_igmp.c index 68b3af72a7..df773f38d0 100644 --- a/pimd/pim_igmp.c +++ b/pimd/pim_igmp.c @@ -141,18 +141,6 @@ struct igmp_sock *pim_igmp_sock_lookup_ifaddr(struct list *igmp_sock_list, return NULL; } -struct igmp_sock *igmp_sock_lookup_by_fd(struct list *igmp_sock_list, int fd) -{ - struct listnode *sock_node; - struct igmp_sock *igmp; - - for (ALL_LIST_ELEMENTS_RO(igmp_sock_list, sock_node, igmp)) - if (fd == igmp->fd) - return igmp; - - return NULL; -} - static int pim_igmp_other_querier_expire(struct thread *t) { struct igmp_sock *igmp; |
