Module Name: src
Committed By: dyoung
Date: Thu Nov 12 19:25:08 UTC 2009
Modified Files:
src/sys/dev/ic: aic6360.c
Log Message:
Remove superfluous activation hook.
To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/dev/ic/aic6360.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/aic6360.c
diff -u src/sys/dev/ic/aic6360.c:1.97 src/sys/dev/ic/aic6360.c:1.98
--- src/sys/dev/ic/aic6360.c:1.97 Tue Sep 22 12:56:06 2009
+++ src/sys/dev/ic/aic6360.c Thu Nov 12 19:25:08 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: aic6360.c,v 1.97 2009/09/22 12:56:06 tsutsui Exp $ */
+/* $NetBSD: aic6360.c,v 1.98 2009/11/12 19:25:08 dyoung Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Charles M. Hannum. All rights reserved.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic6360.c,v 1.97 2009/09/22 12:56:06 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic6360.c,v 1.98 2009/11/12 19:25:08 dyoung Exp $");
#include "opt_ddb.h"
@@ -297,28 +297,6 @@
}
int
-aic_activate(device_t self, enum devact act)
-{
- struct aic_softc *sc = device_private(self);
- int s, rv = 0;
-
- s = splhigh();
- switch (act) {
- case DVACT_ACTIVATE:
- rv = EOPNOTSUPP;
- break;
-
- case DVACT_DEACTIVATE:
- if (sc->sc_child != NULL)
- rv = config_deactivate(sc->sc_child);
- break;
- }
- splx(s);
-
- return (rv);
-}
-
-int
aic_detach(device_t self, int flags)
{
struct aic_softc *sc = device_private(self);