/* ibmvfc_set_tgt_action - Set the next init action for the target @tgt: ibmvfc target struct @action: action to perform  */
static void ibmvfc_set_tgt_action(struct ibmvfc_target *tgt, enum ibmvfc_target_action action)
/* ibmvfc_set_tgt_action - Set the next init action for the target @tgt: ibmvfc target struct @action: action to perform  */
static void ibmvfc_set_tgt_action(struct ibmvfc_target *tgt, enum ibmvfc_target_action action)
{
	switch (tgt->action) {
	case IBMVFC_TGT_ACTION_DEL_RPORT:
		break;
	default:
		if (action == IBMVFC_TGT_ACTION_DEL_RPORT)
			tgt->add_rport = 0;
		tgt->action = action;
		break;
	}
}