Author: alc
Date: Thu May 24 20:43:41 2018
New Revision: 334180
URL: https://svnweb.freebsd.org/changeset/base/334180

Log:
  Eliminate an unused parameter from vm_fault_populate().
  
  Reviewed by:  kib
  MFC after:    10 days

Modified:
  head/sys/vm/vm_fault.c

Modified: head/sys/vm/vm_fault.c
==============================================================================
--- head/sys/vm/vm_fault.c      Thu May 24 20:26:37 2018        (r334179)
+++ head/sys/vm/vm_fault.c      Thu May 24 20:43:41 2018        (r334180)
@@ -377,8 +377,8 @@ vm_fault_populate_cleanup(vm_object_t object, vm_pinde
 }
 
 static int
-vm_fault_populate(struct faultstate *fs, vm_offset_t vaddr, vm_prot_t prot,
-    int fault_type, int fault_flags, boolean_t wired, vm_page_t *m_hold)
+vm_fault_populate(struct faultstate *fs, vm_prot_t prot, int fault_type,
+    int fault_flags, boolean_t wired, vm_page_t *m_hold)
 {
        vm_page_t m;
        vm_pindex_t map_first, map_last, pager_first, pager_last, pidx;
@@ -740,8 +740,8 @@ RetryFault:;
                        if (fs.object == fs.first_object &&
                            (fs.first_object->flags & OBJ_POPULATE) != 0 &&
                            fs.first_object->shadow_count == 0) {
-                               rv = vm_fault_populate(&fs, vaddr, prot,
-                                   fault_type, fault_flags, wired, m_hold);
+                               rv = vm_fault_populate(&fs, prot, fault_type,
+                                   fault_flags, wired, m_hold);
                                switch (rv) {
                                case KERN_SUCCESS:
                                case KERN_FAILURE:
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to