]> git.proxmox.com Git - mirror_frr.git/commitdiff
pim6d: Removing duplicate PIM_DECLVAR_CONTEXT macro
authorSai Gomathi N <nsaigomathi@vmware.com>
Thu, 7 Apr 2022 12:17:49 +0000 (05:17 -0700)
committerSai Gomathi N <nsaigomathi@vmware.com>
Mon, 25 Apr 2022 06:44:27 +0000 (23:44 -0700)
Removing the duplicate PIM_DECLVAR_CONTEXT from
pim_common_cmd.h file.

Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
pimd/pim_cmd_common.h

index f5e0ef58784d72711f9897f0212f6e03e29c1ba5..c766d134b180a18b32b29150d6bbdb1ca6f22c5f 100644 (file)
@@ -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;