Commit 29685ea5 authored by Li kunyu's avatar Li kunyu Committed by Michael Ellerman

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: default avatarLi kunyu <kunyu@nfschina.com>
Acked-by: default avatarAndrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231113015229.12074-1-kunyu@nfschina.com
parent 220f3ced
......@@ -7,7 +7,7 @@
static int __init init_ocxl(void)
{
int rc = 0;
int rc;
if (!tlbie_capable)
return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment