aboutsummaryrefslogtreecommitdiffstats
path: root/src/rate_ctr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rate_ctr.c')
-rw-r--r--src/rate_ctr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rate_ctr.c b/src/rate_ctr.c
index bde090a4..e48c7792 100644
--- a/src/rate_ctr.c
+++ b/src/rate_ctr.c
@@ -52,9 +52,6 @@ struct rate_ctr_group *rate_ctr_group_alloc(void *ctx,
group->desc = desc;
group->idx = idx;
- /* Generate the Group prefix from the user-specified index */
- group->name_prefix = talloc_size(group, strlen(desc->group_prefix_fmt) + 20);
- sprintf(group->name_prefix, desc->group_prefix_fmt, idx);
llist_add(&group->list, &rate_ctr_groups);