Commit bc1183a6 authored by Li kunyu's avatar Li kunyu Committed by Greg Kroah-Hartman

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>
Link: https://lore.kernel.org/r/20231113015229.12074-1-kunyu@nfschina.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 29eb0dc7
......@@ -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