[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231113015229.12074-1-kunyu@nfschina.com>
Date: Mon, 13 Nov 2023 09:52:29 +0800
From: Li kunyu <kunyu@...china.com>
To: fbarrat@...ux.ibm.com, ajd@...ux.ibm.com, arnd@...db.de,
gregkh@...uxfoundation.org
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Li kunyu <kunyu@...china.com>
Subject: [PATCH] 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@...china.com>
---
drivers/misc/ocxl/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/ocxl/main.c b/drivers/misc/ocxl/main.c
index ef73cf35dda2b..658974143c3cc 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;
--
2.18.2
Powered by blists - more mailing lists