From patchwork Thu Jun 3 07:08:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 104035 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 o5378IAV004815 for ; Thu, 3 Jun 2010 07:08:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753895Ab0FCHIP (ORCPT ); Thu, 3 Jun 2010 03:08:15 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:45668 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751440Ab0FCHIP (ORCPT ); Thu, 3 Jun 2010 03:08:15 -0400 Received: from smtp05.web.de ( [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id F202E16499B5A; Thu, 3 Jun 2010 09:08:13 +0200 (CEST) Received: from [88.65.44.253] (helo=[192.168.1.10]) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #4) id 1OK4XF-0004A4-00; Thu, 03 Jun 2010 09:08:13 +0200 Message-ID: <4C0754DD.3030305@web.de> Date: Thu, 03 Jun 2010 09:08:13 +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 Subject: [PATCH] KVM: mmu: Remove unused local variable X-Enigmail-Version: 0.95.7 X-Sender: jan.kiszka@web.de X-Provags-ID: V01U2FsdGVkX1/Scr8H64IwtaN0xtbEsqV4/6M5+mQpQDATuYTJ jA1jc0Zp0dJ1ucbormZp69//elhW+uPgwrKLMOCVH7tWVjVPBM H5hD0jZ3s= 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]); Thu, 03 Jun 2010 07:08:18 +0000 (UTC) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index c16c4ca..9b9d773 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -2045,7 +2045,6 @@ static void kvm_send_hwpoison_signal(struct kvm *kvm, gfn_t gfn) { char buf[1]; void __user *hva; - int r; /* Touch the page, so send SIGBUS */ hva = (void __user *)gfn_to_hva(kvm, gfn);