nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

9723a8
From 0000000000000000000000000000000000000000 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
9723a8
Subject: [PATCH] script: Remove unused fields from 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
b71686
index 360c2be1f..b382bcf09 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