projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
455f972
)
arch/sh/mm/asids-debugfs.c: use PTR_ERR_OR_ZERO
author
Fabian Frederick
<fabf@skynet.be>
Wed, 6 Aug 2014 23:03:41 +0000
(16:03 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:12 +0000
(18:01 -0700)
Replace IS_ERR/PTR_ERR.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sh/mm/asids-debugfs.c
patch
|
blob
|
history
diff --git
a/arch/sh/mm/asids-debugfs.c
b/arch/sh/mm/asids-debugfs.c
index 74c03ecc48718c6e41abb7b59f50f715eb992681..ecfc6b0c1da1061d781b49d9a6e9cb2713d09bfa 100644
(file)
--- a/
arch/sh/mm/asids-debugfs.c
+++ b/
arch/sh/mm/asids-debugfs.c
@@
-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)
;
}
module_init(asids_debugfs_init);