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>
Link: https://lore.kernel.org/r/20231113015229.12074-1-kunyu@nfschina.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Li kunyu 2023-11-13 09:52:29 +08:00 committed by Greg Kroah-Hartman
parent 29eb0dc7bd
commit bc1183a630

View File

@ -7,7 +7,7 @@
static int __init init_ocxl(void)
{
int rc = 0;
int rc;
if (!tlbie_capable)
return -EINVAL;