提交 afbe8c4b 编写于 作者: O Olaf Hering 提交者: Paul Mackerras

[PATCH] ppc64 boot: remove global initializers

No need to initialize global variables.
Signed-off-by: NOlaf Hering <olh@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 844ae3a0
...@@ -38,9 +38,9 @@ struct addr_range { ...@@ -38,9 +38,9 @@ struct addr_range {
unsigned long size; unsigned long size;
unsigned long memsize; unsigned long memsize;
}; };
static struct addr_range vmlinux = {0, 0, 0}; static struct addr_range vmlinux;
static struct addr_range vmlinuz = {0, 0, 0}; static struct addr_range vmlinuz;
static struct addr_range initrd = {0, 0, 0}; static struct addr_range initrd;
static char scratch[46912]; /* scratch space for gunzip, from zlib_inflate_workspacesize() */ static char scratch[46912]; /* scratch space for gunzip, from zlib_inflate_workspacesize() */
static char elfheader[256]; static char elfheader[256];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册