/* Unregisters a callback. 
Unregisters a callback function which is implemented by the user. */
void m2m_unregister_callback(struct m2m_module *const m2m, enum m2m_callback_type type)
/* Unregisters a callback. 
Unregisters a callback function which is implemented by the user. */
void m2m_unregister_callback(struct m2m_module *const m2m, enum m2m_callback_type type)
{
	Assert(m2m);
	if (type < M2M_CALLBACK_N) {
		m2m->callbacks[type] = NULL;
	}
}