diff options
| author | Sai Gomathi <nsaigomathi@vmware.com> | 2021-11-25 08:08:09 -0800 |
|---|---|---|
| committer | Sai Gomathi <nsaigomathi@vmware.com> | 2021-11-25 20:42:54 -0800 |
| commit | b850813975cefb317b0b19e4d06f919ad90db8be (patch) | |
| tree | 15f8b466062ee2b85740347a1a6eae64dc1fe5a5 /pimd/pim_igmp.c | |
| parent | 4f037a39f2f32fb557b8da2bfac7853308782de6 (diff) | |
pimd: removing no caller functions
Removing the no caller function declarations and definitions
in pimd directory.
Signed-off-by: Sai Gomathi <nsaigomathi@vmware.com>
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; |
