Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2018 20:22:31 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r327501 - stable/11/sys/amd64/amd64
Message-ID:  <201801022022.w02KMVUZ044811@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Tue Jan  2 20:22:31 2018
New Revision: 327501
URL: https://svnweb.freebsd.org/changeset/base/327501

Log:
  MFC r324328:
  
       amd64: remove unused variable from pmap_delayed_invl_genp
  
  This is take #2.

Modified:
  stable/11/sys/amd64/amd64/pmap.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/amd64/amd64/pmap.c
==============================================================================
--- stable/11/sys/amd64/amd64/pmap.c	Tue Jan  2 19:34:23 2018	(r327500)
+++ stable/11/sys/amd64/amd64/pmap.c	Tue Jan  2 20:22:31 2018	(r327501)
@@ -537,14 +537,12 @@ pmap_delayed_invl_genp(vm_page_t m)
 static void
 pmap_delayed_invl_wait(vm_page_t m)
 {
-	struct thread *td;
 	struct turnstile *ts;
 	u_long *m_gen;
 #ifdef PV_STATS
 	bool accounted = false;
 #endif
 
-	td = curthread;
 	m_gen = pmap_delayed_invl_genp(m);
 	while (*m_gen > pmap_invl_gen) {
 #ifdef PV_STATS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801022022.w02KMVUZ044811>