dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0297-script-Remove-unused-fields-from-grub_script_functio.patch

a4d572
From 19d627a430f6917afeee167daa9190d1ec83d7b7 Mon Sep 17 00:00:00 2001
a4d572
From: Chris Coulson <chris.coulson@canonical.com>
a4d572
Date: Fri, 10 Jul 2020 11:21:14 +0100
a4d572
Subject: [PATCH 297/314] script: Remove unused fields from
a4d572
 grub_script_function struct
a4d572
a4d572
Signed-off-by: Chris Coulson <chris.coulson@canonical.com>
a4d572
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
a4d572
Upstream-commit-id: d04089c8e52
a4d572
---
a4d572
 include/grub/script_sh.h | 5 -----
a4d572
 1 file changed, 5 deletions(-)
a4d572
a4d572
diff --git a/include/grub/script_sh.h b/include/grub/script_sh.h
a4d572
index 360c2be1f05..b382bcf09bc 100644
a4d572
--- a/include/grub/script_sh.h
a4d572
+++ b/include/grub/script_sh.h
a4d572
@@ -359,13 +359,8 @@ struct grub_script_function
a4d572
   /* The script function.  */
a4d572
   struct grub_script *func;
a4d572
 
a4d572
-  /* The flags.  */
a4d572
-  unsigned flags;
a4d572
-
a4d572
   /* The next element.  */
a4d572
   struct grub_script_function *next;
a4d572
-
a4d572
-  int references;
a4d572
 };
a4d572
 typedef struct grub_script_function *grub_script_function_t;
a4d572
 
a4d572
-- 
a4d572
2.26.2
a4d572