Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2018 15:41:00 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339728 - head/sys/kern
Message-ID:  <201810251541.w9PFf0Ix079006@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu Oct 25 15:40:59 2018
New Revision: 339728
URL: https://svnweb.freebsd.org/changeset/base/339728

Log:
  Remove a redundant check.
  
  CID:		1042100
  MFC after:	2 weeks

Modified:
  head/sys/kern/subr_vmem.c

Modified: head/sys/kern/subr_vmem.c
==============================================================================
--- head/sys/kern/subr_vmem.c	Thu Oct 25 15:35:12 2018	(r339727)
+++ head/sys/kern/subr_vmem.c	Thu Oct 25 15:40:59 2018	(r339728)
@@ -283,7 +283,7 @@ bt_fill(vmem_t *vm, int flags)
 			VMEM_UNLOCK(vm);
 			bt = uma_zalloc(vmem_bt_zone, flags);
 			VMEM_LOCK(vm);
-			if (bt == NULL && (flags & M_NOWAIT) != 0)
+			if (bt == NULL)
 				break;
 		}
 		LIST_INSERT_HEAD(&vm->vm_freetags, bt, bt_freelist);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810251541.w9PFf0Ix079006>