diff options
author | Andrew Morton <akpm@osdl.org> | 2003-12-29 23:44:50 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-12-29 23:44:50 -0800 |
commit | 83a3e44d9cc777f8f90c69f734997191e372f20b (patch) | |
tree | 6843be3ad5d8918d0697eccb698aca9da59e7344 /init | |
parent | e8640dfabe3ed889e16f6861a217c6ebe6710880 (diff) | |
download | history-83a3e44d9cc777f8f90c69f734997191e372f20b.tar.gz |
[PATCH] init/main.c trivial cleanups
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
- remove unused "rows" and "cols"
- change the 2 variable to static
Diffstat (limited to 'init')
-rw-r--r-- | init/main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/init/main.c b/init/main.c index c26c0751c69f27..41d1a2931b026e 100644 --- a/init/main.c +++ b/init/main.c @@ -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) { |