dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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