/* Each protocol-specific driver should call this routine when its module is unloaded.  */
void mpt_deregister(u8 cb_idx)
/* Each protocol-specific driver should call this routine when its module is unloaded.  */
void mpt_deregister(u8 cb_idx)
{
	if (cb_idx && (cb_idx < MPT_MAX_PROTOCOL_DRIVERS)) {
		MptCallbacks[cb_idx] = NULL;
		MptDriverClass[cb_idx] = MPTUNKNOWN_DRIVER;
		MptEvHandlers[cb_idx] = NULL;
		last_drv_idx++;
	}
}