LSM: Make lsm_early_cred() and lsm_early_task() local functions.
[sfrench/cifs-2.6.git] / security / tomoyo / tomoyo.c
index 066c0daf0efc02a231404706713bdfa640cb3dd1..2b3eee06004bb1e15e7a57174be862af341ac438 100644 (file)
@@ -566,7 +566,6 @@ static int __init tomoyo_init(void)
        /* register ourselves with the security framework */
        security_add_hooks(tomoyo_hooks, ARRAY_SIZE(tomoyo_hooks), "tomoyo");
        printk(KERN_INFO "TOMOYO Linux initialized\n");
-       lsm_early_cred(cred);
        blob = tomoyo_cred(cred);
        *blob = &tomoyo_kernel_domain;
        tomoyo_mm_init();