From 22532615b178cb6a8f5ffa9fc0d1855c8a5600b0 Mon Sep 17 00:00:00 2001 From: Sai Gomathi N Date: Thu, 7 Apr 2022 05:17:49 -0700 Subject: [PATCH] pim6d: Removing duplicate PIM_DECLVAR_CONTEXT macro Removing the duplicate PIM_DECLVAR_CONTEXT from pim_common_cmd.h file. Signed-off-by: Sai Gomathi N --- pimd/pim_cmd_common.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h index f5e0ef587..c766d134b 100644 --- a/pimd/pim_cmd_common.h +++ b/pimd/pim_cmd_common.h @@ -104,14 +104,6 @@ int gm_process_last_member_query_interval_cmd(struct vty *vty, int gm_process_no_last_member_query_interval_cmd(struct vty *vty); int pim_process_ssmpingd_cmd(struct vty *vty, enum nb_operation operation, const char *src_str); -/* - * Special Macro to allow us to get the correct pim_instance - */ -#define PIM_DECLVAR_CONTEXT(A, B) \ - struct vrf *A = VTY_GET_CONTEXT(vrf); \ - struct pim_instance *B = \ - (vrf) ? vrf->info : pim_get_pim_instance(VRF_DEFAULT); \ - vrf = (vrf) ? vrf : pim->vrf /* * Special Macro to allow us to get the correct pim_instance; -- 2.39.5