]> git.hungrycats.org Git - linux/commitdiff
[PATCH] redundant declarations (#2_15)
authorThomas 'Dent' Mirlacher <dent@cosy.sbg.ac.at>
Mon, 15 Jul 2002 06:00:37 +0000 (23:00 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 15 Jul 2002 06:00:37 +0000 (23:00 -0700)
 this patch fixes redundant declarations in 2.5.24

arch/i386/kernel/cpu/common.c

index 95530e701b4d1ff2c3143a246d03b779642011a4..8b30e6628f3badb313f580c6821746b05f563d7d 100644 (file)
@@ -15,9 +15,6 @@ static int disable_x86_fxsr __initdata = 0;
 
 struct cpu_dev * cpu_devs[X86_VENDOR_NUM] = {};
 
-static struct cpu_dev default_cpu;
-static struct cpu_dev * this_cpu = &default_cpu;
-
 extern void mcheck_init(struct cpuinfo_x86 *c);
 
 static void default_init(struct cpuinfo_x86 * c)
@@ -36,6 +33,7 @@ static void default_init(struct cpuinfo_x86 * c)
 static struct cpu_dev default_cpu = {
        c_init: default_init,
 };
+static struct cpu_dev * this_cpu = &default_cpu;
 
 static int __init cachesize_setup(char *str)
 {