summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-20 18:25:04 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-20 19:26:02 +0200
commit54553d88a0126e5ff68f12a5f734c635748db53d (patch)
tree98a0991d4c12786732d246d35e467ae166913120 /vm
parentb339b72d52830486985a51e0b933ad5f4e9b55c4 (diff)
Fix warnings
* vm/vm_resident.c (vm_page_grab_contiguous_pages): Remove unused count_zeroes and not_found_em labels.
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_resident.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm/vm_resident.c b/vm/vm_resident.c
index ef13145..5470368 100644
--- a/vm/vm_resident.c
+++ b/vm/vm_resident.c
@@ -1043,7 +1043,6 @@ count_ones:
* search for beans here
*/
bits_so_far = 0;
-count_zeroes:
while ((bitpos < NBPEL) && ((v & 1) == 0)) {
bitpos++;
v >>= 1;
@@ -1063,7 +1062,6 @@ count_zeroes:
/*
* We could not find enough contiguous pages.
*/
-not_found_em:
simple_unlock(&vm_page_queue_free_lock);
ret = KERN_RESOURCE_SHORTAGE;