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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to