pimd: remove api source_channel_oil_detach()

This API is no more in use.

Signed-off-by: Sarita Patra <saritap@vmware.com>
This commit is contained in:
Sarita Patra 2023-05-31 04:37:35 -07:00
parent cb809c0d6c
commit 8e595849fc

View File

@ -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