/* Returns: true if list is empty, false otherwise  */
int zfcp_reqlist_isempty(struct zfcp_adapter *adapter)
/* Returns: true if list is empty, false otherwise  */
int zfcp_reqlist_isempty(struct zfcp_adapter *adapter)
{
	unsigned int idx;
	for (idx = 0; idx < REQUEST_LIST_SIZE; idx++)
		if (!list_empty(&adapter->req_list[idx]))
			return 0;
	return 1;
}