projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29eb0dc
)
misc: ocxl: main: Remove unnecessary ‘0’ values from rc
author
Li kunyu
<kunyu@nfschina.com>
Mon, 13 Nov 2023 01:52:29 +0000
(09:52 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 27 Nov 2023 13:51:24 +0000
(13:51 +0000)
rc is assigned first, so it does not need to initialize the assignment.
Signed-off-by: Li kunyu <kunyu@nfschina.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Link:
https://lore.kernel.org/r/20231113015229.12074-1-kunyu@nfschina.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ocxl/main.c
patch
|
blob
|
history
diff --git
a/drivers/misc/ocxl/main.c
b/drivers/misc/ocxl/main.c
index ef73cf35dda2b3d69f1215c90845af3489cd9be8..658974143c3cc0482bd7a1ff72e094499fecb396 100644
(file)
--- a/
drivers/misc/ocxl/main.c
+++ b/
drivers/misc/ocxl/main.c
@@
-7,7
+7,7
@@
static int __init init_ocxl(void)
{
- int rc
= 0
;
+ int rc;
if (!tlbie_capable)
return -EINVAL;