From 8e595849fca7e25d8187211872c7e03f8ae73846 Mon Sep 17 00:00:00 2001 From: Sarita Patra Date: Wed, 31 May 2023 04:37:35 -0700 Subject: [PATCH] pimd: remove api source_channel_oil_detach() This API is no more in use. Signed-off-by: Sarita Patra --- pimd/pim_igmpv3.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pimd/pim_igmpv3.c b/pimd/pim_igmpv3.c index 96f97f1d12..18a9fb7c6c 100644 --- a/pimd/pim_igmpv3.c +++ b/pimd/pim_igmpv3.c @@ -319,14 +319,6 @@ void igmp_source_free(struct gm_source *source) XFREE(MTYPE_PIM_IGMP_GROUP_SOURCE, source); } -static void source_channel_oil_detach(struct gm_source *source) -{ - if (source->source_channel_oil) { - pim_channel_oil_del(source->source_channel_oil, __func__); - source->source_channel_oil = NULL; - } -} - /* igmp_source_delete: stop forwarding, and delete the source igmp_source_forward_stop: stop forwarding, but keep the source