|
@@ -67,10 +67,8 @@ static int __init asids_debugfs_init(void)
|
|
NULL, &asids_debugfs_fops);
|
|
NULL, &asids_debugfs_fops);
|
|
if (!asids_dentry)
|
|
if (!asids_dentry)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
- if (IS_ERR(asids_dentry))
|
|
|
|
- return PTR_ERR(asids_dentry);
|
|
|
|
|
|
|
|
- return 0;
|
|
|
|
|
|
+ return PTR_ERR_OR_ZERO(asids_dentry);
|
|
}
|
|
}
|
|
module_init(asids_debugfs_init);
|
|
module_init(asids_debugfs_init);
|
|
|
|
|