diff options
author | Li kunyu <[email protected]> | 2023-11-13 09:52:29 +0800 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-11-27 22:01:14 +1100 |
commit | 29685ea5754f04c84ad443fd7c6869c68f636c26 (patch) | |
tree | 6b9915bf9bafcd8fa9fc19e83ab25611c3715866 | |
parent | 220f3ced8e42b1efe9c6b84778fb0c77c0c56611 (diff) |
misc: ocxl: main: Remove unnecessary ‘0’ values from rc
rc is assigned first, so it does not need to initialize the assignment.
Signed-off-by: Li kunyu <[email protected]>
Acked-by: Andrew Donnellan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
-rw-r--r-- | drivers/misc/ocxl/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/ocxl/main.c b/drivers/misc/ocxl/main.c index ef73cf35dda2..658974143c3c 100644 --- 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; |