diff options
author | Li kunyu <kunyu@nfschina.com> | 2023-11-13 04:52:29 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-27 14:01:14 +0300 |
commit | 29685ea5754f04c84ad443fd7c6869c68f636c26 (patch) | |
tree | 6b9915bf9bafcd8fa9fc19e83ab25611c3715866 /drivers/misc/ocxl | |
parent | 220f3ced8e42b1efe9c6b84778fb0c77c0c56611 (diff) | |
download | linux-29685ea5754f04c84ad443fd7c6869c68f636c26.tar.xz |
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 <kunyu@nfschina.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231113015229.12074-1-kunyu@nfschina.com
Diffstat (limited to 'drivers/misc/ocxl')
-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; |