summaryrefslogtreecommitdiffstats
path: root/runtime/batch.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-11-05 18:31:40 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-11-05 18:31:40 +0100
commitc786c8354de565bf217f35157de7688bdffe67d7 (patch)
tree89346d0b4f8c0cd530c0d72ce3620f5d2f9987f8 /runtime/batch.h
parent86589acdf9cab8f6b068eccc1d17b2e8412eec88 (diff)
downloadrsyslog-c786c8354de565bf217f35157de7688bdffe67d7.tar.gz
rsyslog-c786c8354de565bf217f35157de7688bdffe67d7.tar.bz2
rsyslog-c786c8354de565bf217f35157de7688bdffe67d7.zip
remove no longer used data member
Diffstat (limited to 'runtime/batch.h')
-rw-r--r--runtime/batch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/batch.h b/runtime/batch.h
index 5c855521..b0aa8574 100644
--- a/runtime/batch.h
+++ b/runtime/batch.h
@@ -66,7 +66,6 @@ struct batch_s {
int maxElem; /* maximum number of elements that this batch supports */
int nElem; /* actual number of element in this entry */
int nElemDeq; /* actual number of elements dequeued (and thus to be deleted) - see comment above! */
- int iDoneUpTo; /* all messages below this index have state other than RDY */
qDeqID deqID; /* ID of dequeue operation that generated this batch */
batch_obj_t *pElem; /* batch elements */
batch_state_t *eltState;/* state (array!) for individual objects.
@@ -134,7 +133,6 @@ batchFree(batch_t *pBatch) {
static inline rsRetVal
batchInit(batch_t *pBatch, int maxElem) {
DEFiRet;
- pBatch->iDoneUpTo = 0;
pBatch->maxElem = maxElem;
CHKmalloc(pBatch->pElem = calloc((size_t)maxElem, sizeof(batch_obj_t)));
CHKmalloc(pBatch->eltState = calloc((size_t)maxElem, sizeof(batch_state_t)));