x86: remove dead code from cpuid4_cache_lookup()
authorJan Beulich <jbeulich@suse.com>
Mon, 2 Jul 2018 11:10:52 +0000 (13:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 2 Jul 2018 11:10:52 +0000 (13:10 +0200)
commit2f374bd557b289e12c793058130169c1d4c46b0a
tree397593bafd7c3e50792c99b118fad20190c12eef
parenta808623142812a22ee0b632fe6fd5e044e83839b
x86: remove dead code from cpuid4_cache_lookup()

... and make num_cache_leaves local to the only function using it.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/cpu/intel_cacheinfo.c