]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ppc64 boot: remove global initializers
authorOlaf Hering <olh@suse.de>
Sat, 29 Oct 2005 00:46:47 +0000 (17:46 -0700)
committerPaul Mackerras <paulus@samba.org>
Sat, 29 Oct 2005 05:08:03 +0000 (15:08 +1000)
No need to initialize global variables.

Signed-off-by: Olaf Hering <olh@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/boot/main.c

index c2c1f3309113a3b0274078efff196d32fd91235a..3304ed34c44b0ba61e4896d235027da26b565461 100644 (file)
@@ -38,9 +38,9 @@ struct addr_range {
        unsigned long size;
        unsigned long memsize;
 };
-static struct addr_range vmlinux = {0, 0, 0};
-static struct addr_range vmlinuz = {0, 0, 0};
-static struct addr_range initrd  = {0, 0, 0};
+static struct addr_range vmlinux;
+static struct addr_range vmlinuz;
+static struct addr_range initrd;
 
 static char scratch[46912];    /* scratch space for gunzip, from zlib_inflate_workspacesize() */
 static char elfheader[256];