[2190] 2009-05-04 Pavel Roskin <[email protected]>

Pavel Roskin <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2190
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2190
Author:   proski
Date:     2009-05-04 23:33:34 +0000 (Mon, 04 May 2009)
Log Message:
-----------
2009-05-04  Pavel Roskin  <[email protected]>

	* commands/acpi.c: Remove unused variable my_mod.
	* partmap/amiga.c: Likewise.
	* partmap/apple.c: Likewise.
	* partmap/gpt.c: Likewise.
	* partmap/pc.c: Likewise.
	* partmap/sun.c: Likewise.
	* term/gfxterm.c: Likewise.
	* term/i386/pc/vesafb.c: Likewise.
	* term/i386/pc/vga.c: Likewise.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/commands/acpi.c
    trunk/grub2/partmap/amiga.c
    trunk/grub2/partmap/apple.c
    trunk/grub2/partmap/gpt.c
    trunk/grub2/partmap/pc.c
    trunk/grub2/partmap/sun.c
    trunk/grub2/term/gfxterm.c
    trunk/grub2/term/i386/pc/vesafb.c
    trunk/grub2/term/i386/pc/vga.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-05-04 23:13:53 UTC (rev 2189)
+++ trunk/grub2/ChangeLog	2009-05-04 23:33:34 UTC (rev 2190)
@@ -1,3 +1,15 @@
+2009-05-04  Pavel Roskin  <[email protected]>
+
+	* commands/acpi.c: Remove unused variable my_mod.
+	* partmap/amiga.c: Likewise.
+	* partmap/apple.c: Likewise.
+	* partmap/gpt.c: Likewise.
+	* partmap/pc.c: Likewise.
+	* partmap/sun.c: Likewise.
+	* term/gfxterm.c: Likewise.
+	* term/i386/pc/vesafb.c: Likewise.
+	* term/i386/pc/vga.c: Likewise.
+
 2009-05-04  David S. Miller  <[email protected]>
 
 	* kern/ieee1275/openfw.c (grub_children_iterate): Fix string

Modified: trunk/grub2/commands/acpi.c
===================================================================
--- trunk/grub2/commands/acpi.c	2009-05-04 23:13:53 UTC (rev 2189)
+++ trunk/grub2/commands/acpi.c	2009-05-04 23:33:34 UTC (rev 2190)
@@ -73,7 +73,6 @@
 /* rev1 is 1 if ACPIv1 is to be generated, 0 otherwise. 
    rev2 contains the revision of ACPIv2+ to generate or 0 if none. */
 static int rev1, rev2;
-static grub_dl_t my_mod;
 /* OEMID of RSDP, RSDT and XSDT. */
 static char root_oemid[6];
 /* OEMTABLE of the same tables. */
@@ -764,7 +763,6 @@
 			      "Load host acpi tables and tables "
 			      "specified by arguments", 
 			      options);
-  my_mod=mod;
 }
 
 GRUB_MOD_FINI(acpi)

Modified: trunk/grub2/partmap/amiga.c
===================================================================
--- trunk/grub2/partmap/amiga.c	2009-05-04 23:13:53 UTC (rev 2189)
+++ trunk/grub2/partmap/amiga.c	2009-05-04 23:33:34 UTC (rev 2190)
@@ -67,10 +67,6 @@
 
 static struct grub_partition_map grub_amiga_partition_map;
 
-#ifndef GRUB_UTIL
-static grub_dl_t my_mod;
-#endif
-
 
 
 static grub_err_t
@@ -211,9 +207,6 @@
 GRUB_MOD_INIT(amiga_partition_map)
 {
   grub_partition_map_register (&grub_amiga_partition_map);
-#ifndef GRUB_UTIL
-  my_mod = mod;
-#endif
 }
 
 GRUB_MOD_FINI(amiga_partition_map)

Modified: trunk/grub2/partmap/apple.c
===================================================================
--- trunk/grub2/partmap/apple.c	2009-05-04 23:13:53 UTC (rev 2189)
+++ trunk/grub2/partmap/apple.c	2009-05-04 23:33:34 UTC (rev 2190)
@@ -94,10 +94,6 @@
 };
 
 static struct grub_partition_map grub_apple_partition_map;
-
-#ifndef GRUB_UTIL
-static grub_dl_t my_mod;
-#endif
 
 
 static grub_err_t
@@ -247,9 +243,6 @@
 GRUB_MOD_INIT(apple_partition_map)
 {
   grub_partition_map_register (&grub_apple_partition_map);
-#ifndef GRUB_UTIL
-  my_mod = mod;
-#endif
 }
 
 GRUB_MOD_FINI(apple_partition_map)

Modified: trunk/grub2/partmap/gpt.c
===================================================================
--- trunk/grub2/partmap/gpt.c	2009-05-04 23:13:53 UTC (rev 2189)
+++ trunk/grub2/partmap/gpt.c	2009-05-04 23:33:34 UTC (rev 2190)
@@ -34,10 +34,6 @@
 
 static struct grub_partition_map grub_gpt_partition_map;
 
-#ifndef GRUB_UTIL
-static grub_dl_t my_mod;
-#endif
-
 
 
 static grub_err_t
@@ -189,9 +185,6 @@
 GRUB_MOD_INIT(gpt_partition_map)
 {
   grub_partition_map_register (&grub_gpt_partition_map);
-#ifndef GRUB_UTIL
-  my_mod = mod;
-#endif
 }
 
 GRUB_MOD_FINI(gpt_partition_map)

Modified: trunk/grub2/partmap/pc.c
===================================================================
--- trunk/grub2/partmap/pc.c	2009-05-04 23:13:53 UTC (rev 2189)
+++ trunk/grub2/partmap/pc.c	2009-05-04 23:33:34 UTC (rev 2190)
@@ -25,10 +25,6 @@
 #include <grub/dl.h>
 
 static struct grub_partition_map grub_pc_partition_map;
-
-#ifndef GRUB_UTIL
-static grub_dl_t my_mod;
-#endif
 
 
 /* Parse the partition representation in STR and return a partition.  */
@@ -312,9 +308,6 @@
 GRUB_MOD_INIT(pc_partition_map)
 {
   grub_partition_map_register (&grub_pc_partition_map);
-#ifndef GRUB_UTIL
-  my_mod = mod;
-#endif
 }
 
 GRUB_MOD_FINI(pc_partition_map)

Modified: trunk/grub2/partmap/sun.c
===================================================================
--- trunk/grub2/partmap/sun.c	2009-05-04 23:13:53 UTC (rev 2189)
+++ trunk/grub2/partmap/sun.c	2009-05-04 23:33:34 UTC (rev 2190)
@@ -67,10 +67,6 @@
 
 static struct grub_partition_map grub_sun_partition_map;
 
-#ifndef GRUB_UTIL
-static grub_dl_t my_mod;
-#endif
-
 /* Verify checksum (true=ok).  */
 static int
 grub_sun_is_valid (struct grub_sun_block *label)
@@ -211,9 +207,6 @@
 GRUB_MOD_INIT(sun_partition_map)
 {
   grub_partition_map_register (&grub_sun_partition_map);
-#ifndef GRUB_UTIL
-  my_mod = mod;
-#endif
 }
 
 GRUB_MOD_FINI(sun_partition_map)

Modified: trunk/grub2/term/gfxterm.c
===================================================================
--- trunk/grub2/term/gfxterm.c	2009-05-04 23:13:53 UTC (rev 2189)
+++ trunk/grub2/term/gfxterm.c	2009-05-04 23:33:34 UTC (rev 2190)
@@ -106,7 +106,6 @@
 
 static struct grub_virtual_screen virtual_screen;
 
-static grub_dl_t my_mod;
 static struct grub_video_mode_info mode_info;
 
 static struct grub_video_render_target *text_layer;
@@ -1154,7 +1153,6 @@
 
 GRUB_MOD_INIT(term_gfxterm)
 {
-  my_mod = mod;
   grub_term_register_output ("gfxterm", &grub_video_term);
   cmd = grub_register_command ("background_image",
 			       grub_gfxterm_background_image_cmd,

Modified: trunk/grub2/term/i386/pc/vesafb.c
===================================================================
--- trunk/grub2/term/i386/pc/vesafb.c	2009-05-04 23:13:53 UTC (rev 2189)
+++ trunk/grub2/term/i386/pc/vesafb.c	2009-05-04 23:33:34 UTC (rev 2190)
@@ -89,7 +89,6 @@
     .text_buffer = 0
   };
 
-static grub_dl_t my_mod;
 static unsigned char *vga_font = 0;
 static grub_uint32_t old_mode = 0;
 
@@ -598,7 +597,6 @@
 
 GRUB_MOD_INIT(vesafb)
 {
-  my_mod = mod;
   grub_term_register_output ("vesafb", &grub_vesafb_term);
 }
 

Modified: trunk/grub2/term/i386/pc/vga.c
===================================================================
--- trunk/grub2/term/i386/pc/vga.c	2009-05-04 23:13:53 UTC (rev 2189)
+++ trunk/grub2/term/i386/pc/vga.c	2009-05-04 23:33:34 UTC (rev 2190)
@@ -57,7 +57,6 @@
   unsigned char index;
 };
 
-static grub_dl_t my_mod;
 static unsigned char text_mode;
 static unsigned xpos, ypos;
 static int cursor_state;
@@ -505,9 +504,6 @@
 
 GRUB_MOD_INIT(vga)
 {
-#ifndef GRUB_UTIL
-  my_mod = mod;
-#endif
   grub_term_register_output ("vga", &grub_vga_term);
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.