dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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