From d88aa8ffcbab3246c314fd25fdeb60e0b25de148 Mon Sep 17 00:00:00 2001 From: mpi Date: Wed, 24 Jul 2024 12:15:55 +0000 Subject: [PATCH] Remove assertion in udv_detach(), the function is already mpsafe. ok jca@, claudio@ --- sys/uvm/uvm_device.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 */ -- 2.20.1