[][src]Function mynewt::kernel::os::os_mempool_unregister

pub unsafe extern "C" fn os_mempool_unregister(
    mp: *mut os_mempool
) -> os_error_t

Removes the specified mempool from the list of initialized mempools.

Return: 0 on success; OS_INVALID_PARM if the mempool is not registered.