]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi: selftest: Make record static
authorBin Meng <bmeng@tinylab.org>
Wed, 5 Apr 2023 12:15:15 +0000 (20:15 +0800)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 8 Apr 2023 05:46:44 +0000 (07:46 +0200)
record is only referenced in efi_selftest_exitbootservices.c

Signed-off-by: Bin Meng <bmeng@tinylab.org>
lib/efi_selftest/efi_selftest_exitbootservices.c

index 11b43fdd90bc3f0085d95077934925e4926d2042..b090ce74d23c1abd5fe2a597c9f79dd8afd20d3b 100644 (file)
@@ -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,