/* Return the aggregator of the first slave in @bond, or NULL if it can't be found.  */
static struct aggregator* __get_first_agg(struct port *port)
/* Return the aggregator of the first slave in @bond, or NULL if it can't be found.  */
static struct aggregator* __get_first_agg(struct port *port)
{
	struct bonding *bond = __get_bond_by_port(port);
	if ((bond == NULL) || (bond->slave_cnt == 0)) {
		return NULL;
	}
	return &(SLAVE_AD_INFO(bond->first_slave).aggregator);
}