Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Li kunyu and committed by
Michael Ellerman
29685ea5 220f3ced

+1 -1
+1 -1
drivers/misc/ocxl/main.c
··· 7 7 8 8 static int __init init_ocxl(void) 9 9 { 10 - int rc = 0; 10 + int rc; 11 11 12 12 if (!tlbie_capable) 13 13 return -EINVAL;