1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 09:13:20 -05:00

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
This commit is contained in:
Li kunyu 2023-11-13 09:52:29 +08:00 committed by Michael Ellerman
parent 220f3ced8e
commit 29685ea575

View file

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