diff options
-rw-r--r-- | mm/page_owner.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/page_owner.c b/mm/page_owner.c index 270a8219ccd0..06a0055f45a6 100644 --- a/mm/page_owner.c +++ b/mm/page_owner.c @@ -635,9 +635,7 @@ static int __init pageowner_init(void) dentry = debugfs_create_file("page_owner", S_IRUSR, NULL, NULL, &proc_page_owner_operations); - if (IS_ERR(dentry)) - return PTR_ERR(dentry); - return 0; + return PTR_ERR_OR_ZERO(dentry); } late_initcall(pageowner_init) |