/* Cancel an active channel-path deconfiguration request if it has not yet been performed.  */
void chp_cfg_cancel_deconfigure(struct chp_id chpid)
/* Cancel an active channel-path deconfiguration request if it has not yet been performed.  */
void chp_cfg_cancel_deconfigure(struct chp_id chpid)
{
	CIO_MSG_EVENT(2, "chp_cfg_cancel:%x.%02x\n", chpid.cssid, chpid.id);
	mutex_lock(&cfg_lock);
	if (cfg_get_task(chpid) == cfg_deconfigure)
		cfg_set_task(chpid, cfg_none);
	mutex_unlock(&cfg_lock);
}