before the debug subsystem is fully set up, or after the debug
subsystem has been torn down.
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@86
7e1ea52c-4ff2-0310-8f11-
9dd32ca42a1c
static int __init spl_init(void)
{
int rc = 0;
- ENTRY;
if ((rc = debug_init()))
- RETURN(rc);
+ return rc;
if ((rc = kmem_init()))
GOTO(out , rc);
printk("SPL: Failed to Load Solaris Porting Layer v%s, "
"rc = %d\n", VERSION, rc);
- RETURN(rc);
+ return rc;
}
static void spl_fini(void)
vn_fini();
kmem_fini();
debug_fini();
-
- EXIT;
}
module_init(spl_init);