dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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