summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2006-08-21 00:55:05 +0000
committeralc <alc@FreeBSD.org>2006-08-21 00:55:05 +0000
commit24209e226462e3f39b9f017bee77a18cab50c69f (patch)
tree2ea8aac30d178395e2c93b627aae0353bdbdeb50
parent40cc07237da3a7fa360475e37f6f9de5610acf82 (diff)
downloadFreeBSD-src-24209e226462e3f39b9f017bee77a18cab50c69f.zip
FreeBSD-src-24209e226462e3f39b9f017bee77a18cab50c69f.tar.gz
vm_page_zero_idle()'s return value serves no purpose. Eliminate it.
-rw-r--r--sys/vm/vm_zeroidle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/vm/vm_zeroidle.c b/sys/vm/vm_zeroidle.c
index 683990f..4f48ccc 100644
--- a/sys/vm/vm_zeroidle.c
+++ b/sys/vm/vm_zeroidle.c
@@ -99,7 +99,7 @@ vm_page_zero_check(void)
return (1);
}
-static int
+static void
vm_page_zero_idle(void)
{
static int free_rover;
@@ -122,7 +122,6 @@ vm_page_zero_idle(void)
}
free_rover = (free_rover + PQ_PRIME2) & PQ_COLORMASK;
mtx_unlock_spin(&vm_page_queue_free_mtx);
- return (1);
}
/* Called by vm_page_free to hint that a new page is available. */
OpenPOWER on IntegriCloud