projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s390/net: Cocci spatch "ptr_ret.spatch"
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
s390
/
net
/
lcs.c
diff --git
a/drivers/s390/net/lcs.c
b/drivers/s390/net/lcs.c
index c645dc9e98af83359d13b4975221a4d609ace853..f404f55b31917a3daac4ea9787e130786ad6b3b8 100644
(file)
--- a/
drivers/s390/net/lcs.c
+++ b/
drivers/s390/net/lcs.c
@@
-2441,7
+2441,7
@@
__init lcs_init_module(void)
if (rc)
goto out_err;
lcs_root_dev = root_device_register("lcs");
- rc =
IS_ERR(lcs_root_dev) ? PTR_ERR(lcs_root_dev) : 0
;
+ rc =
PTR_RET(lcs_root_dev)
;
if (rc)
goto register_err;
rc = ccw_driver_register(&lcs_ccw_driver);