From ea8bf70599778fc682c9053487f58028193e9a4a Mon Sep 17 00:00:00 2001 From: mjg Date: Thu, 5 Oct 2017 18:51:48 +0000 Subject: [PATCH] amd64: remove unused variable from pmap_delayed_invl_genp Reported by: gcc MFC after: 1 week --- sys/amd64/amd64/pmap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index f9d1d31394d1..80f6526b52b1 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -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