From: Sarita Patra Date: Wed, 31 May 2023 11:37:35 +0000 (-0700) Subject: pimd: remove api source_channel_oil_detach() X-Git-Tag: base_9.1~391^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F11560%2Fhead;p=mirror%2Ffrr.git pimd: remove api source_channel_oil_detach() This API is no more in use. Signed-off-by: Sarita Patra --- 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