Skip to contentSkip to conversation

bootmeth: efi: Make distro_efi_boot() static

PATCH In review Bin Meng 2 participants 2 messages Aug 3, 2023 – Aug 4, 2023

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 bootmeth: efi: Make distro_efi_boot() static

As it is only called in bootmeth_efi.c

---

 boot/bootmeth_efi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
boot/bootmeth_efi.c +1 -1
index af31fbfc85..2d4c3c6728 100644
@@ -372,7 +372,7 @@ static int distro_efi_read_bootflow(struct udevice *dev, struct bootflow *bflow)
 	return 0;
 }
 
-int distro_efi_boot(struct udevice *dev, struct bootflow *bflow)
+static int distro_efi_boot(struct udevice *dev, struct bootflow *bflow)
 {
 	ulong kernel, fdt;
 	char cmd[50];
Signature · 1 line
2.25.1