From: Victor Julien Date: Wed, 30 Oct 2013 18:42:09 +0000 (+0100) Subject: Counters: remove unused updated field X-Git-Tag: suricata-2.0beta2~187 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45dfecafd4475b30bff13a19134f4770e7dee859;p=thirdparty%2Fsuricata.git Counters: remove unused updated field --- 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 */