diff options
Diffstat (limited to 'security/smack')
-rw-r--r-- | security/smack/smackfs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c index 2716d02..81a2888 100644 --- a/security/smack/smackfs.c +++ b/security/smack/smackfs.c @@ -2320,11 +2320,7 @@ static const struct file_operations smk_revoke_subj_ops = { */ static int smk_init_sysfs(void) { - int err; - err = sysfs_create_mount_point(fs_kobj, "smackfs"); - if (err) - return err; - return 0; + return sysfs_create_mount_point(fs_kobj, "smackfs"); } /** |