diff --git a/src/counters.c b/src/counters.c index 0a778ce4cc..2d77f4565d 100644 --- a/src/counters.c +++ b/src/counters.c @@ -1216,8 +1216,6 @@ int SCPerfUpdateCounterArray(SCPerfCounterArray *pca, SCPerfContext *pctx) SCPerfCopyCounterValue(&pcae[i]); - pc->updated++; - pc = pc->next; break; } diff --git a/src/counters.h b/src/counters.h index a918ae4390..a7f9c82ce8 100644 --- a/src/counters.h +++ b/src/counters.h @@ -73,9 +73,6 @@ typedef struct SCPerfCounter_ { uint64_t value; - /* no of times the local counter has been synced with this counter */ - uint64_t updated; - /* name of the counter */ char *cname; /* name of the thread module this counter is registered to */