summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd_common.c
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-08-18 06:28:51 -0400
committerGitHub <noreply@github.com>2022-08-18 06:28:51 -0400
commite9c599ca72123d7685699ed710eaa089c1b2d52f (patch)
tree52cf5ec46a45a1e8399cc0523b22673cb26a55df /pimd/pim_cmd_common.c
parentb32cf39d45b606e1b5da916c5419db71fa3d0fd5 (diff)
parent38ec10a14afc86f828a597449702409db8722e37 (diff)
Merge pull request #11830 from AbhishekNR/unused_var
pimd, pim6d: Removing unused parameter
Diffstat (limited to 'pimd/pim_cmd_common.c')
-rw-r--r--pimd/pim_cmd_common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pimd/pim_cmd_common.c b/pimd/pim_cmd_common.c
index 009936cdb7..3092d1d3f5 100644
--- a/pimd/pim_cmd_common.c
+++ b/pimd/pim_cmd_common.c
@@ -3889,7 +3889,6 @@ void show_mroute(struct pim_instance *pim, struct vty *vty, pim_sgaddr *sg,
static void show_mroute_count_per_channel_oil(struct channel_oil *c_oil,
json_object *json,
- struct vty *vty,
struct ttable *tt)
{
json_object *json_group = NULL;
@@ -3957,10 +3956,10 @@ void show_mroute_count(struct pim_instance *pim, struct vty *vty,
/* Print PIM and IGMP route counts */
frr_each (rb_pim_oil, &pim->channel_oil_head, c_oil)
- show_mroute_count_per_channel_oil(c_oil, json, vty, tt);
+ show_mroute_count_per_channel_oil(c_oil, json, tt);
for (ALL_LIST_ELEMENTS_RO(pim->static_routes, node, sr))
- show_mroute_count_per_channel_oil(&sr->c_oil, json, vty, tt);
+ show_mroute_count_per_channel_oil(&sr->c_oil, json, tt);
/* Dump the generated table. */
if (!json) {