pci_drivers.c: initialize ret to avoid compiler warnings

initialize ret to avoid compiler warnings in pci_drivers.c

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
p-szafonimateusz 2024-03-20 16:47:44 +01:00 committed by Xiang Xiao
parent 1d586c3bee
commit 393ed71d81

View File

@ -47,7 +47,7 @@
int pci_register_drivers(void)
{
int ret;
int ret = OK;
#ifdef CONFIG_PCI_IVSHMEM
ret = pci_ivshmem_register();