hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/sh/mm/asids-debugfs.c
....@@ -63,13 +63,8 @@
6363
6464 static int __init asids_debugfs_init(void)
6565 {
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;
7469 }
7570 device_initcall(asids_debugfs_init);