mirror of
https://github.com/torvalds/linux
synced 2024-10-07 03:42:55 +00: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> 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:
parent
29eb0dc7bd
commit
bc1183a630
|
@ -7,7 +7,7 @@
|
|||
|
||||
static int __init init_ocxl(void)
|
||||
{
|
||||
int rc = 0;
|
||||
int rc;
|
||||
|
||||
if (!tlbie_capable)
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Reference in a new issue