Blame SOURCES/0024-Don-t-print-GNU-GRUB-header.patch

8e15ce
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
8e15ce
From: William Jon McCann <william.jon.mccann@gmail.com>
8e15ce
Date: Wed, 15 May 2013 13:53:48 -0400
8e15ce
Subject: [PATCH] Don't print GNU GRUB header
8e15ce
8e15ce
No one cares.
8e15ce
---
8e15ce
 grub-core/normal/main.c | 8 +++++---
8e15ce
 1 file changed, 5 insertions(+), 3 deletions(-)
8e15ce
8e15ce
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
8e15ce
index 7ca2e5400b1..5d5f7b539f5 100644
8e15ce
--- a/grub-core/normal/main.c
8e15ce
+++ b/grub-core/normal/main.c
8e15ce
@@ -208,15 +208,16 @@ read_config_file (const char *config)
8e15ce
 /* Initialize the screen.  */
8e15ce
 void
8e15ce
 grub_normal_init_page (struct grub_term_output *term,
8e15ce
-		       int y)
8e15ce
+		       int y __attribute__((__unused__)))
8e15ce
 {
8e15ce
+  grub_term_cls (term);
8e15ce
+
8e15ce
+#if 0
8e15ce
   grub_ssize_t msg_len;
8e15ce
   int posx;
8e15ce
   char *msg_formatted;
8e15ce
   grub_uint32_t *unicode_msg;
8e15ce
   grub_uint32_t *last_position;
8e15ce
- 
8e15ce
-  grub_term_cls (term);
8e15ce
 
8e15ce
   msg_formatted = grub_xasprintf (_("GNU GRUB  version %s"), PACKAGE_VERSION);
8e15ce
   if (!msg_formatted)
8e15ce
@@ -241,6 +242,7 @@ grub_normal_init_page (struct grub_term_output *term,
8e15ce
   grub_putcode ('\n', term);
8e15ce
   grub_putcode ('\n', term);
8e15ce
   grub_free (unicode_msg);
8e15ce
+#endif
8e15ce
 }
8e15ce
 
8e15ce
 static void