summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_map.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-10-25 17:44:59 +0000
committerphk <phk@FreeBSD.org>1998-10-25 17:44:59 +0000
commit13c66194f4b66073c693cdb830b5091d9d735e17 (patch)
tree6fad3c4a8f13b0ab244bebf9795bb095be5ee8d7 /sys/vm/vm_map.c
parentb17bde009a29901e8647e3d0c680a716f3526a2d (diff)
downloadFreeBSD-src-13c66194f4b66073c693cdb830b5091d9d735e17.zip
FreeBSD-src-13c66194f4b66073c693cdb830b5091d9d735e17.tar.gz
Nitpicking and dusting performed on a train. Removes trivial warnings
about unused variables, labels and other lint.
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r--sys/vm/vm_map.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 7dbad01..83132ad 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_map.c,v 1.136 1998/10/01 20:46:41 jdp Exp $
+ * $Id: vm_map.c,v 1.137 1998/10/13 08:24:43 dg Exp $
*/
/*
@@ -92,8 +92,6 @@
#include <vm/swap_pager.h>
#include <vm/vm_zone.h>
-static MALLOC_DEFINE(M_VMMAP, "VM map", "VM map structures");
-
/*
* Virtual memory maps provide for the mapping, protection,
* and sharing of virtual memory objects. In addition,
@@ -2754,9 +2752,9 @@ vm_freeze_copyopts(object, froma, toa)
vm_object_t object;
vm_pindex_t froma, toa;
{
- int s, rv;
- vm_object_t robject, robjectn;
- vm_pindex_t idx, from, to;
+ int rv;
+ vm_object_t robject;
+ vm_pindex_t idx;
if ((object == NULL) ||
((object->flags & OBJ_OPT) == 0))
@@ -2784,12 +2782,10 @@ vm_freeze_copyopts(object, froma, toa)
for (idx = 0; idx < robject->size; idx++) {
-m_outretry:
m_out = vm_page_grab(robject, idx,
VM_ALLOC_NORMAL | VM_ALLOC_RETRY);
if (m_out->valid == 0) {
-m_inretry:
m_in = vm_page_grab(object, bo_pindex + idx,
VM_ALLOC_NORMAL | VM_ALLOC_RETRY);
if (m_in->valid == 0) {
OpenPOWER on IntegriCloud