summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_cmd_common.h')
-rw-r--r--pimd/pim_cmd_common.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/pimd/pim_cmd_common.h b/pimd/pim_cmd_common.h
index f5e0ef5878..c766d134b1 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;