From: mpi Date: Wed, 24 Jul 2024 12:15:55 +0000 (+0000) Subject: Remove assertion in udv_detach(), the function is already mpsafe. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d88aa8ffcbab3246c314fd25fdeb60e0b25de148;p=openbsd Remove assertion in udv_detach(), the function is already mpsafe. ok jca@, claudio@ --- diff --git a/sys/uvm/uvm_device.c b/sys/uvm/uvm_device.c index 74d9490b326..10288d7153c 100644 --- a/sys/uvm/uvm_device.c +++ b/sys/uvm/uvm_device.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_device.c,v 1.66 2021/12/15 12:53:53 mpi Exp $ */ +/* $OpenBSD: uvm_device.c,v 1.67 2024/07/24 12:15:55 mpi Exp $ */ /* $NetBSD: uvm_device.c,v 1.30 2000/11/25 06:27:59 chs Exp $ */ /* @@ -245,8 +245,6 @@ udv_detach(struct uvm_object *uobj) { struct uvm_device *udv = (struct uvm_device *)uobj; - KERNEL_ASSERT_LOCKED(); - /* * loop until done */