From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: [PATCH] remove unused variable from walk_addr_generic() Date: Tue, 8 Jan 2013 10:49:00 +0200 Message-ID: <20130108084900.GF21250@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kbuild test robot , Marcelo Tosatti To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:40616 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755183Ab3AHItE (ORCPT ); Tue, 8 Jan 2013 03:49:04 -0500 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Fix compilation warning. Signed-off-by: Gleb Natapov diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h index a7b24cf..2ad76b9 100644 --- a/arch/x86/kvm/paging_tmpl.h +++ b/arch/x86/kvm/paging_tmpl.h @@ -151,7 +151,7 @@ static int FNAME(walk_addr_generic)(struct guest_walker *walker, pt_element_t pte; pt_element_t __user *uninitialized_var(ptep_user); gfn_t table_gfn; - unsigned index, pt_access, pte_access, accessed_dirty, shift; + unsigned index, pt_access, pte_access, accessed_dirty; gpa_t pte_gpa; int offset; const int write_fault = access & PFERR_WRITE_MASK; -- Gleb.