From patchwork Tue May 25 14:02:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 102211 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4PE2V7q018453 for ; Tue, 25 May 2010 14:02:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758276Ab0EYOC3 (ORCPT ); Tue, 25 May 2010 10:02:29 -0400 Received: from thoth.sbs.de ([192.35.17.2]:19778 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756575Ab0EYOC3 (ORCPT ); Tue, 25 May 2010 10:02:29 -0400 Received: from mail1.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id o4PE2FfK030714; Tue, 25 May 2010 16:02:15 +0200 Received: from [139.25.109.167] (mchn012c.ww002.siemens.net [139.25.109.167] (may be forged)) by mail1.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id o4PE2FfV031835; Tue, 25 May 2010 16:02:15 +0200 Message-ID: <4BFBD867.8000102@siemens.com> Date: Tue, 25 May 2010 16:02:15 +0200 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Avi Kivity , Marcelo Tosatti CC: kvm , Joerg Roedel Subject: [PATCH] KVM: svm: Drop unused local variable Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 25 May 2010 14:02:32 +0000 (UTC) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 5f25e59..3c03c36 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -1491,8 +1491,6 @@ static void svm_handle_mce(struct vcpu_svm *svm) * Erratum 383 triggered. Guest state is corrupt so kill the * guest. */ - struct kvm_run *kvm_run = svm->vcpu.run; - pr_err("KVM: Guest triggered AMD Erratum 383\n"); set_bit(KVM_REQ_TRIPLE_FAULT, &svm->vcpu.requests);