svn commit: r324328 - head/sys/amd64/amd64
Mateusz Guzik
mjg at FreeBSD.org
Thu Oct 5 18:51:49 UTC 2017
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
More information about the svn-src-all
mailing list