svn commit: r359475 - head/sys/vm

Bryan Drewery bdrewery at FreeBSD.org
Tue Mar 31 01:13:04 UTC 2020


Author: bdrewery
Date: Tue Mar 31 01:12:53 2020
New Revision: 359475
URL: https://svnweb.freebsd.org/changeset/base/359475

Log:
  Remove dead code leftover from r331018.
  
  Sponsored by:	Dell EMC

Modified:
  head/sys/vm/vm_page.c

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Mon Mar 30 23:29:53 2020	(r359474)
+++ head/sys/vm/vm_page.c	Tue Mar 31 01:12:53 2020	(r359475)
@@ -2048,8 +2048,6 @@ again:
 	if (vm_object_reserv(object) &&
 	    (m = vm_reserv_alloc_page(object, pindex, domain, req, mpred)) !=
 	    NULL) {
-		domain = vm_phys_domain(m);
-		vmd = VM_DOMAIN(domain);
 		goto found;
 	}
 #endif
@@ -2248,8 +2246,6 @@ again:
 	if (vm_object_reserv(object) &&
 	    (m_ret = vm_reserv_alloc_contig(object, pindex, domain, req,
 	    mpred, npages, low, high, alignment, boundary)) != NULL) {
-		domain = vm_phys_domain(m_ret);
-		vmd = VM_DOMAIN(domain);
 		goto found;
 	}
 #endif


More information about the svn-src-all mailing list