Skip to content

Commit

Permalink
Remove the unused stat field in strgp
Browse files Browse the repository at this point in the history
  • Loading branch information
nichamon authored and tom95858 committed Dec 9, 2023
1 parent 8ef06ee commit 4d4cc17
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion ldms/src/ldmsd/ldmsd.h
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,6 @@ struct ldmsd_strgp {
regex_t schema_regex;
char *regex_s;

struct ldmsd_stat stat;
int prdset_cnt; /* Number of producer sets strgp stores */
};

Expand Down
1 change: 0 additions & 1 deletion ldms/src/ldmsd/ldmsd_updtr.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ static void updtr_update_cb(ldms_t t, ldms_set_t set, int status, void *arg)
clock_gettime(CLOCK_REALTIME, &start);
strgp->update_fn(strgp, prd_set);
clock_gettime(CLOCK_REALTIME, &end);
ldmsd_stat_update(&strgp->stat, &start, &end);
ldmsd_stat_update(&prd_set->store_stat, &start, &end);
ldmsd_strgp_unlock(strgp);
}
Expand Down

0 comments on commit 4d4cc17

Please sign in to comment.