From 774f7b7986c7eb84c1d3c7e75ee5f1b03a4f055b Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 4 Nov 2013 18:53:13 +0100 Subject: refactor: remove no longer needed elements from batch_t --- runtime/batch.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'runtime/batch.h') diff --git a/runtime/batch.h b/runtime/batch.h index a7f62aa4..e8268b1c 100644 --- a/runtime/batch.h +++ b/runtime/batch.h @@ -69,7 +69,6 @@ struct batch_s { int iDoneUpTo; /* all messages below this index have state other than RDY */ qDeqID deqID; /* ID of dequeue operation that generated this batch */ int *pbShutdownImmediate;/* end processing of this batch immediately if set to 1 */ - sbool *active; /* which messages are active for processing, NULL=all */ batch_obj_t *pElem; /* batch elements */ batch_state_t *eltState;/* state (array!) for individual objects. NOTE: we have moved this out of batch_obj_t because we @@ -104,8 +103,7 @@ batchSetElemState(batch_t *pBatch, int i, batch_state_t newState) { */ static inline int batchIsValidElem(batch_t *pBatch, int i) { - return( (pBatch->eltState[i] != BATCH_STATE_DISC) - && (pBatch->active == NULL || pBatch->active[i])); + return(pBatch->eltState[i] != BATCH_STATE_DISC); } -- cgit v1.2.3