summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2004-03-22 22:46:22 +0000
committerwpaul <wpaul@FreeBSD.org>2004-03-22 22:46:22 +0000
commit0cae7408ddc80357dafc03d961848402f7ff8775 (patch)
tree01f313fd73039a8841cd7b9c1987e3a28f850439
parent71b6e14bc8762efe416c002d0cb20d759756937b (diff)
downloadFreeBSD-src-0cae7408ddc80357dafc03d961848402f7ff8775.zip
FreeBSD-src-0cae7408ddc80357dafc03d961848402f7ff8775.tar.gz
Remove another case of grabbing Giant before doing a kthread_exit()
which is now no longer needed.
-rw-r--r--sys/compat/ndis/subr_ntoskrnl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/compat/ndis/subr_ntoskrnl.c b/sys/compat/ndis/subr_ntoskrnl.c
index 1395a7f..cfc11ee 100644
--- a/sys/compat/ndis/subr_ntoskrnl.c
+++ b/sys/compat/ndis/subr_ntoskrnl.c
@@ -1617,7 +1617,6 @@ ntoskrnl_thread_exit(status)
ntoskrnl_kth--;
- mtx_lock(&Giant);
kthread_exit(0);
return(0); /* notreached */
}
OpenPOWER on IntegriCloud