From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAMYY-0005XG-AI for qemu-devel@nongnu.org; Mon, 03 Feb 2014 11:39:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAMYM-0006DH-P7 for qemu-devel@nongnu.org; Mon, 03 Feb 2014 11:39:34 -0500 Received: from mail-ee0-x236.google.com ([2a00:1450:4013:c00::236]:62518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAMYM-0006D3-IV for qemu-devel@nongnu.org; Mon, 03 Feb 2014 11:39:22 -0500 Received: by mail-ee0-f54.google.com with SMTP id e53so3776115eek.13 for ; Mon, 03 Feb 2014 08:39:21 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 3 Feb 2014 17:38:56 +0100 Message-Id: <1391445551-6561-2-git-send-email-pbonzini@redhat.com> In-Reply-To: <1391445551-6561-1-git-send-email-pbonzini@redhat.com> References: <1391445551-6561-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 01/16] target-i386: kvm_cpu_fill_host(): Kill unused code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Eduardo Habkost From: Eduardo Habkost Those host_cpuid() calls are useless. They are leftovers from when the old code using host_cpuid() was removed. Signed-off-by: Eduardo Habkost Signed-off-by: Paolo Bonzini --- target-i386/cpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index e6f7eaf..07f7f82 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -1182,12 +1182,10 @@ static void kvm_cpu_fill_host(x86_def_t *x86_cpu_def) /* Call Centaur's CPUID instruction. */ if (!strcmp(x86_cpu_def->vendor, CPUID_VENDOR_VIA)) { - host_cpuid(0xC0000000, 0, &eax, &ebx, &ecx, &edx); eax = kvm_arch_get_supported_cpuid(s, 0xC0000000, 0, R_EAX); if (eax >= 0xC0000001) { /* Support VIA max extended level */ x86_cpu_def->xlevel2 = eax; - host_cpuid(0xC0000001, 0, &eax, &ebx, &ecx, &edx); x86_cpu_def->features[FEAT_C000_0001_EDX] = kvm_arch_get_supported_cpuid(s, 0xC0000001, 0, R_EDX); } -- 1.8.3.1