]> xenbits.xensource.com Git - xen.git/commit
x86: don't call generic_identify() redundantly
authorJan Beulich <jbeulich@suse.com>
Mon, 21 May 2012 10:03:32 +0000 (12:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 21 May 2012 10:03:32 +0000 (12:03 +0200)
commit44e24f85674dcfb6023a13d5e21cd8c8f9812398
tree27aeb656850fa10eba6828821697562216919dbd
parent97d0de4e86ba4e4d966e6426c7ebaf2818a35368
x86: don't call generic_identify() redundantly

Right before calling struct cpu_dev's ->c_identify, if non-NULL,
identify_cpu() calls generic_identify(). Hence there's no point for
->c_identify to point to generic_identify, nor for the handler to call
that function. After removing all pointless uses, the function isn't
being used outside the file that's defininig it anymore, and hence can
become static.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/cpu/amd.c
xen/arch/x86/cpu/common.c
xen/arch/x86/cpu/cpu.h
xen/arch/x86/cpu/cyrix.c
xen/arch/x86/cpu/intel.c
xen/arch/x86/cpu/transmeta.c