[PATCH 1/5] efi: selftest: Make record static
Bin Meng
bmeng at tinylab.org
Wed Apr 5 14:15:15 CEST 2023
record is only referenced in efi_selftest_exitbootservices.c
Signed-off-by: Bin Meng <bmeng at tinylab.org>
---
lib/efi_selftest/efi_selftest_exitbootservices.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/efi_selftest/efi_selftest_exitbootservices.c b/lib/efi_selftest/efi_selftest_exitbootservices.c
index 11b43fdd90..b090ce74d2 100644
--- a/lib/efi_selftest/efi_selftest_exitbootservices.c
+++ b/lib/efi_selftest/efi_selftest_exitbootservices.c
@@ -27,7 +27,7 @@ struct notification_context {
static struct efi_boot_services *boottime;
static struct efi_event *efi_st_event_notify;
-struct notification_record record;
+static struct notification_record record;
struct notification_context context_before = {
.record = &record,
--
2.34.1
More information about the U-Boot
mailing list