grub2/SOURCES/0297-script-Remove-unused-f...

31 lines
924 B
Diff
Raw Permalink Normal View History

2021-03-02 18:56:20 +00:00
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2020-07-29 17:15:26 +00:00
From: Chris Coulson <chris.coulson@canonical.com>
Date: Fri, 10 Jul 2020 11:21:14 +0100
2021-03-02 18:56:20 +00:00
Subject: [PATCH] script: Remove unused fields from grub_script_function struct
2020-07-29 17:15:26 +00:00
Signed-off-by: Chris Coulson <chris.coulson@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Upstream-commit-id: d04089c8e52
---
include/grub/script_sh.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/grub/script_sh.h b/include/grub/script_sh.h
2022-05-10 07:20:45 +00:00
index 360c2be1f..b382bcf09 100644
2020-07-29 17:15:26 +00:00
--- a/include/grub/script_sh.h
+++ b/include/grub/script_sh.h
@@ -359,13 +359,8 @@ struct grub_script_function
/* The script function. */
struct grub_script *func;
- /* The flags. */
- unsigned flags;
-
/* The next element. */
struct grub_script_function *next;
-
- int references;
};
typedef struct grub_script_function *grub_script_function_t;