/* Return a pointer to the first item in the AIL. If the AIL is empty, then return NULL.  */
STATIC xfs_log_item_t * xfs_ail_min(struct xfs_ail *)
/* Return a pointer to the first item in the AIL. If the AIL is empty, then return NULL.  */
STATIC xfs_log_item_t * xfs_ail_min(struct xfs_ail *)
{
	if (list_empty(&ailp->xa_ail))
		return NULL;
	return list_first_entry(&ailp->xa_ail, xfs_log_item_t, li_ail);
}