From patchwork Thu Jan 15 13:47:42 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark McLoughlin X-Patchwork-Id: 2496 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n0FDhvrC020448 for ; Thu, 15 Jan 2009 05:43:59 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760132AbZAONsI (ORCPT ); Thu, 15 Jan 2009 08:48:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761560AbZAONsH (ORCPT ); Thu, 15 Jan 2009 08:48:07 -0500 Received: from mail19.svc.cra.dublin.eircom.net ([159.134.118.218]:42891 "HELO mail19.svc.cra.dublin.eircom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1760954AbZAONrz (ORCPT ); Thu, 15 Jan 2009 08:47:55 -0500 Received: (qmail 90170 messnum 619839 invoked from network[83.71.77.218/83-71-77-218-dynamic.b-ras1.srl.dublin.eircom.net]); 15 Jan 2009 13:47:54 -0000 Received: from 83-71-77-218-dynamic.b-ras1.srl.dublin.eircom.net (HELO blaa.localdomain) (83.71.77.218) by mail19.svc.cra.dublin.eircom.net (qp 90170) with SMTP; 15 Jan 2009 13:47:54 -0000 Received: by blaa.localdomain (Postfix, from userid 500) id 28F562E45FB; Thu, 15 Jan 2009 13:47:43 +0000 (GMT) From: Mark McLoughlin To: avi@redhat.com Cc: kvm@vger.kernel.org, Mark McLoughlin Subject: [PATCH 18/18] kvm: qemu: kill unused variable in enable_vapic() Date: Thu, 15 Jan 2009 13:47:42 +0000 Message-Id: <1232027262-21487-18-git-send-email-markmc@redhat.com> X-Mailer: git-send-email 1.6.0.6 In-Reply-To: <1232027262-21487-17-git-send-email-markmc@redhat.com> References: <1232027262-21487-1-git-send-email-markmc@redhat.com> <1232027262-21487-2-git-send-email-markmc@redhat.com> <1232027262-21487-3-git-send-email-markmc@redhat.com> <1232027262-21487-4-git-send-email-markmc@redhat.com> <1232027262-21487-5-git-send-email-markmc@redhat.com> <1232027262-21487-6-git-send-email-markmc@redhat.com> <1232027262-21487-7-git-send-email-markmc@redhat.com> <1232027262-21487-8-git-send-email-markmc@redhat.com> <1232027262-21487-9-git-send-email-markmc@redhat.com> <1232027262-21487-10-git-send-email-markmc@redhat.com> <1232027262-21487-11-git-send-email-markmc@redhat.com> <1232027262-21487-12-git-send-email-markmc@redhat.com> <1232027262-21487-13-git-send-email-markmc@redhat.com> <1232027262-21487-14-git-send-email-markmc@redhat.com> <1232027262-21487-15-git-send-email-markmc@redhat.com> <1232027262-21487-16-git-send-email-markmc@redhat.com> <1232027262-21487-17-git-send-email-markmc@redhat.com> MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Fixes: qemu/kvm-tpr-opt.c:22: warning: redundant redeclaration of ‘kvm_context’ Signed-off-by: Mark McLoughlin --- qemu/kvm-tpr-opt.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/qemu/kvm-tpr-opt.c b/qemu/kvm-tpr-opt.c index 85fbbbc..44b453f 100644 --- a/qemu/kvm-tpr-opt.c +++ b/qemu/kvm-tpr-opt.c @@ -222,7 +222,6 @@ static int bios_is_mapped(CPUState *env, uint64_t rip) static int enable_vapic(CPUState *env) { - struct kvm_sregs sregs; static uint8_t one = 1; kvm_enable_vapic(kvm_context, env->cpu_index,