From 45dfecafd4475b30bff13a19134f4770e7dee859 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 30 Oct 2013 19:42:09 +0100 Subject: [PATCH] Counters: remove unused updated field --- src/counters.c | 2 -- src/counters.h | 3 --- 2 files changed, 5 deletions(-) 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 */