/* Returns: 1 if work to do / 0 if not  */
static int ibmvfc_dev_init_to_do(struct ibmvfc_host *vhost)
/* Returns: 1 if work to do / 0 if not  */
static int ibmvfc_dev_init_to_do(struct ibmvfc_host *vhost)
{
	struct ibmvfc_target *tgt;
	list_for_each_entry(tgt, &vhost->targets, queue) {
		if (tgt->action == IBMVFC_TGT_ACTION_INIT ||
		    tgt->action == IBMVFC_TGT_ACTION_INIT_WAIT)
			return 1;
	}
	return 0;
}