From: "Jan Beulich" Subject: [PATCH] x86: kill unused local variable sh_mapcache Date: Mon, 14 May 2007 17:12:24 +0200 Message-ID: <46489878.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Apparently a leaf-over from pre-3.0.3. Signed-off-by: Jan Beulich Index: 2007-05-14/xen/arch/x86/mm.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- 2007-05-14.orig/xen/arch/x86/mm.c 2007-05-14 08:39:16.000000000 = +0200 +++ 2007-05-14/xen/arch/x86/mm.c 2007-05-14 08:40:14.000000000 = +0200 @@ -2261,7 +2261,7 @@ int do_mmu_update( struct vcpu *v =3D current; struct domain *d =3D v->domain; unsigned long type_info; - struct domain_mmap_cache mapcache, sh_mapcache; + struct domain_mmap_cache mapcache; =20 if ( unlikely(count & MMU_UPDATE_PREEMPTED) ) { @@ -2285,7 +2285,6 @@ int do_mmu_update( } =20 domain_mmap_cache_init(&mapcache); - domain_mmap_cache_init(&sh_mapcache); =20 LOCK_BIGLOCK(d); =20 @@ -2447,7 +2446,6 @@ int do_mmu_update( UNLOCK_BIGLOCK(d); =20 domain_mmap_cache_destroy(&mapcache); - domain_mmap_cache_destroy(&sh_mapcache); =20 perfc_add(num_page_updates, i); =20