summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2004-10-30 20:11:23 +0000
committeralc <alc@FreeBSD.org>2004-10-30 20:11:23 +0000
commitee68591e10a9be489c2eb55d8b64f3414580d8f9 (patch)
tree59ab21c821d0859f70f148d06ac149392fa348b0 /sys/vm
parent610346f6c5f255200051c105f8011be2dd5067c2 (diff)
downloadFreeBSD-src-ee68591e10a9be489c2eb55d8b64f3414580d8f9.zip
FreeBSD-src-ee68591e10a9be489c2eb55d8b64f3414580d8f9.tar.gz
Eliminate an unused but initialized variable.
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_zeroidle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_zeroidle.c b/sys/vm/vm_zeroidle.c
index 9d779de..0e8ac78 100644
--- a/sys/vm/vm_zeroidle.c
+++ b/sys/vm/vm_zeroidle.c
@@ -137,13 +137,11 @@ vm_page_zero_idle_wakeup(void)
static void
vm_pagezero(void __unused *arg)
{
- struct proc *p;
struct rtprio rtp;
struct thread *td;
int pages, pri;
td = curthread;
- p = td->td_proc;
rtp.prio = RTP_PRIO_MAX;
rtp.type = RTP_PRIO_IDLE;
pages = 0;
OpenPOWER on IntegriCloud