/* __get_active_agg - get the current active aggregator @aggregator: the aggregator we're looking at  */
static struct aggregator* __get_active_agg(struct aggregator *aggregator)
/* __get_active_agg - get the current active aggregator @aggregator: the aggregator we're looking at  */
static struct aggregator* __get_active_agg(struct aggregator *aggregator)
{
	struct aggregator *retval = NULL;
	for (; aggregator; aggregator = __get_next_agg(aggregator)) {
		if (aggregator->is_active) {
			retval = aggregator;
			break;
		}
	}
	return retval;
}