kernel/arch/sh/mm/asids-debugfs.c
.. .. @@ -63,13 +63,8 @@ 63 63 64 64 static int __init asids_debugfs_init(void) 65 65 { 66 - struct dentry *asids_dentry;67 -68 - asids_dentry = debugfs_create_file("asids", S_IRUSR, arch_debugfs_dir,69 - NULL, &asids_debugfs_fops);70 - if (!asids_dentry)71 - return -ENOMEM;72 -73 - return PTR_ERR_OR_ZERO(asids_dentry);66 + debugfs_create_file("asids", S_IRUSR, arch_debugfs_dir, NULL,67 + &asids_debugfs_fops);68 + return 0;74 69 } 75 70 device_initcall(asids_debugfs_init);