diff options
Diffstat (limited to 'meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch')
-rw-r--r-- | meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch b/meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch new file mode 100644 index 0000000000..84a80d5ffd --- /dev/null +++ b/meta/recipes-bsp/grub/files/script-Remove-unused-fields-from-grub_script_functio.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From e219bad8cee67b2bb21712df8f055706f8da25d2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chris Coulson <chris.coulson@canonical.com> | ||
3 | Date: Fri, 10 Jul 2020 11:21:14 +0100 | ||
4 | Subject: [PATCH 7/9] script: Remove unused fields from grub_script_function | ||
5 | struct | ||
6 | |||
7 | Upstream-Status: Backport [commit 1a8d9c9b4ab6df7669b5aa36a56477f297825b96 | ||
8 | from https://git.savannah.gnu.org/git/grub.git] | ||
9 | |||
10 | Signed-off-by: Chris Coulson <chris.coulson@canonical.com> | ||
11 | Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> | ||
12 | Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> | ||
13 | --- | ||
14 | include/grub/script_sh.h | 5 ----- | ||
15 | 1 file changed, 5 deletions(-) | ||
16 | |||
17 | diff --git a/include/grub/script_sh.h b/include/grub/script_sh.h | ||
18 | index 360c2be..b382bcf 100644 | ||
19 | --- a/include/grub/script_sh.h | ||
20 | +++ b/include/grub/script_sh.h | ||
21 | @@ -359,13 +359,8 @@ struct grub_script_function | ||
22 | /* The script function. */ | ||
23 | struct grub_script *func; | ||
24 | |||
25 | - /* The flags. */ | ||
26 | - unsigned flags; | ||
27 | - | ||
28 | /* The next element. */ | ||
29 | struct grub_script_function *next; | ||
30 | - | ||
31 | - int references; | ||
32 | }; | ||
33 | typedef struct grub_script_function *grub_script_function_t; | ||
34 | |||
35 | -- | ||
36 | 2.14.4 | ||
37 | |||