summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-07-15 18:42:06 +0000
committerart <art@openbsd.org>2002-07-15 18:42:06 +0000
commitf4b8b2bfacf0d78c08d1a5476bcc2bae218913ae (patch)
treef5382e02fb20215b1aeefe72b2b654e4aa349496
parenttest "on ! interface" (diff)
downloadwireguard-openbsd-f4b8b2bfacf0d78c08d1a5476bcc2bae218913ae.tar.xz
wireguard-openbsd-f4b8b2bfacf0d78c08d1a5476bcc2bae218913ae.zip
No need to disestablish the startuphook.
It's done automatically now.
-rw-r--r--sys/dev/raidframe/rf_engine.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/raidframe/rf_engine.c b/sys/dev/raidframe/rf_engine.c
index af2306894bf..f988f0de05a 100644
--- a/sys/dev/raidframe/rf_engine.c
+++ b/sys/dev/raidframe/rf_engine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rf_engine.c,v 1.11 2002/03/14 03:16:07 millert Exp $ */
+/* $OpenBSD: rf_engine.c,v 1.12 2002/07/15 18:42:06 art Exp $ */
/* $NetBSD: rf_engine.c,v 1.10 2000/08/20 16:51:03 thorpej Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@@ -754,11 +754,6 @@ DAGExecutionThread_pre(RF_ThreadArg_t arg)
raidPtr = (RF_Raid_t *) arg;
- if (rf_hook_cookies && rf_hook_cookies[raidPtr->raidid] != NULL) {
- startuphook_disestablish(rf_hook_cookies[raidPtr->raidid]);
- rf_hook_cookies[raidPtr->raidid] = NULL;
- }
-
if (rf_engineDebug) {
printf("raid%d: Creating engine thread\n", raidPtr->raidid);
}