x86: remove c_identify of the struct cpu_dev
authorYi Li <peteryili@tencent.com>
Thu, 8 May 2014 12:06:10 +0000 (14:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 8 May 2014 12:06:10 +0000 (14:06 +0200)
After commit 44e24f85674d (x86: don't call generic_identify() redundantly)
the struct cpu_dev don't need the c_identify.

Signed-off-by: Yi Li <peteryili@tencent.com>
xen/arch/x86/cpu/common.c
xen/arch/x86/cpu/cpu.h

index 2c128e5ea36c9ede4e13475f5ef7b3e6e656bd53..4122684bb90cd47695033ca9c1bac2aded480f18 100644 (file)
@@ -270,23 +270,12 @@ void __cpuinit identify_cpu(struct cpuinfo_x86 *c)
        generic_identify(c);
 
 #ifdef NOISY_CAPS
-       printk(KERN_DEBUG "CPU: After generic identify, caps:");
+       printk(KERN_DEBUG "CPU: After vendor identify, caps:");
        for (i = 0; i < NCAPINTS; i++)
                printk(" %08x", c->x86_capability[i]);
        printk("\n");
 #endif
 
-       if (this_cpu->c_identify) {
-               this_cpu->c_identify(c);
-
-#ifdef NOISY_CAPS
-               printk(KERN_DEBUG "CPU: After vendor identify, caps:");
-               for (i = 0; i < NCAPINTS; i++)
-                       printk(" %08x", c->x86_capability[i]);
-               printk("\n");
-#endif
-       }
-
        /*
         * Vendor-specific initialization.  In this section we
         * canonicalize the feature flags, meaning if there are
index a7b74210797b85045d2559b57a5de29d78782ee8..68563bb2f533c3d382c79f76094a9affe9cf41e3 100644 (file)
@@ -6,7 +6,6 @@ struct cpu_dev {
        char    * c_ident[2];   
 
        void            (*c_init)(struct cpuinfo_x86 * c);
-       void            (*c_identify)(struct cpuinfo_x86 * c);
 };
 
 extern struct cpu_dev * cpu_devs [X86_VENDOR_NUM];