]> git.hungrycats.org Git - linux/commitdiff
[PATCH] init/main.c trivial cleanups
authorAndrew Morton <akpm@osdl.org>
Tue, 30 Dec 2003 07:44:50 +0000 (23:44 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 30 Dec 2003 07:44:50 +0000 (23:44 -0800)
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

- remove unused "rows" and "cols"
- change the 2 variable to static

init/main.c

index c26c0751c69f2753bfe07f8a637acdcdf832c067..41d1a2931b026ecd6a9e3492b574385914eb059f 100644 (file)
@@ -108,9 +108,7 @@ extern void time_init(void);
 void (*late_time_init)(void) = NULL;
 extern void softirq_init(void);
 
-int rows, cols;
-
-char *execute_command;
+static char *execute_command;
 
 /* Setup configured maximum number of CPUs to activate */
 static unsigned int max_cpus = NR_CPUS;
@@ -474,7 +472,7 @@ asmlinkage void __init start_kernel(void)
        rest_init();
 }
 
-int __initdata initcall_debug;
+static int __initdata initcall_debug;
 
 static int __init initcall_debug_setup(char *str)
 {