From 45e26aa0b297c410cba4c4c8f98f57fa73bdff78 Mon Sep 17 00:00:00 2001 From: Abhishek N R Date: Tue, 8 Feb 2022 09:15:06 -0800 Subject: pimd: Moving the common functions from pim_cmd.c Moving the functions that are used by both IPV4 and IPV6 to a common file pim_cmd_common.c file Signed-off-by: Abhishek N R --- pimd/pim_cmd.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'pimd/pim_cmd.h') diff --git a/pimd/pim_cmd.h b/pimd/pim_cmd.h index 89a4e6e699..8022eeea0e 100644 --- a/pimd/pim_cmd.h +++ b/pimd/pim_cmd.h @@ -73,13 +73,4 @@ void pim_cmd_init(void); -/* - * 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; - #endif /* PIM_CMD_H */ -- cgit v1.2.3