Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2017 18:51:48 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324328 - head/sys/amd64/amd64
Message-ID:  <201710051851.v95IpmRF005784@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Thu Oct  5 18:51:48 2017
New Revision: 324328
URL: https://svnweb.freebsd.org/changeset/base/324328

Log:
  amd64: remove unused variable from pmap_delayed_invl_genp
  
  Reported by:	gcc
  MFC after:	1 week

Modified:
  head/sys/amd64/amd64/pmap.c

Modified: head/sys/amd64/amd64/pmap.c
==============================================================================
--- head/sys/amd64/amd64/pmap.c	Thu Oct  5 18:51:32 2017	(r324327)
+++ head/sys/amd64/amd64/pmap.c	Thu Oct  5 18:51:48 2017	(r324328)
@@ -535,14 +535,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?201710051851.v95IpmRF005784>