svn commit: r327501 - stable/11/sys/amd64/amd64

Mateusz Guzik mjg at FreeBSD.org
Tue Jan 2 20:22:32 UTC 2018


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


More information about the svn-src-all mailing list