0018-script-Remove-unused-fields-from-grub_script_functio.patch 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From 73aa0776457066ee6ebc93486c3cf0e6b755d1b8 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] script: Remove unused fields from grub_script_function
  5. struct
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. Signed-off-by: Chris Coulson <chris.coulson@canonical.com>
  10. Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
  11. Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
  12. ---
  13. include/grub/script_sh.h | 5 -----
  14. 1 file changed, 5 deletions(-)
  15. diff --git a/include/grub/script_sh.h b/include/grub/script_sh.h
  16. index 360c2be1f..b382bcf09 100644
  17. --- a/include/grub/script_sh.h
  18. +++ b/include/grub/script_sh.h
  19. @@ -359,13 +359,8 @@ struct grub_script_function
  20. /* The script function. */
  21. struct grub_script *func;
  22. - /* The flags. */
  23. - unsigned flags;
  24. -
  25. /* The next element. */
  26. struct grub_script_function *next;
  27. -
  28. - int references;
  29. };
  30. typedef struct grub_script_function *grub_script_function_t;
  31. --
  32. 2.26.2