Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mcb: Destroy IDA on module unload

Destroy mcb_ida on module_unload

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Johannes Thumshirn and committed by
Greg Kroah-Hartman
169883a6 bf25c199

+1
+1
drivers/mcb/mcb-core.c
··· 409 409 410 410 static void mcb_exit(void) 411 411 { 412 + ida_destroy(&mcb_ida); 412 413 bus_unregister(&mcb_bus_type); 413 414 } 414 415