diff options
author | Olaf Hering <olh@suse.de> | 2005-10-29 00:46:47 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-29 05:08:03 (GMT) |
commit | afbe8c4bb0155f533d6e57edd269c93e2f23c2fa (patch) | |
tree | 890e8f4d7cc582db281da33b6f48bd47f8833f72 | |
parent | 844ae3a0d1638753802770cde881dff0e0704551 (diff) | |
download | linux-afbe8c4bb0155f533d6e57edd269c93e2f23c2fa.tar.xz |
[PATCH] ppc64 boot: remove global initializers
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>
-rw-r--r-- | arch/ppc64/boot/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ppc64/boot/main.c b/arch/ppc64/boot/main.c index c2c1f33..3304ed3 100644 --- a/arch/ppc64/boot/main.c +++ b/arch/ppc64/boot/main.c @@ -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]; |