/* Delete the given item from the AIL. Return a pointer to the item.  */
STATIC xfs_log_item_t * xfs_ail_delete(struct xfs_ail *, xfs_log_item_t *)
/* Delete the given item from the AIL. Return a pointer to the item.  */
STATIC xfs_log_item_t * xfs_ail_delete(struct xfs_ail *, xfs_log_item_t *)
{
	xfs_ail_check(ailp, lip);
	list_del(&lip->li_ail);
	return lip;
}