Commit 88f9802c authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

arch/sh/mm/asids-debugfs.c: use PTR_ERR_OR_ZERO

Signed-off-by: default avatarFabian Frederick <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 455f9726
......@@ -67,10 +67,8 @@ static int __init asids_debugfs_init(void)
NULL, &asids_debugfs_fops);
if (!asids_dentry)
return -ENOMEM;
if (IS_ERR(asids_dentry))
return PTR_ERR(asids_dentry);
return 0;
return PTR_ERR_OR_ZERO(asids_dentry);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment