Module Name: src Committed By: dyoung Date: Sun Dec 6 22:44:55 UTC 2009
Modified Files: src/sys/dev/pci: iavc_pci.c Log Message: Delete dead code: a device-activation hook. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/iavc_pci.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/pci/iavc_pci.c diff -u src/sys/dev/pci/iavc_pci.c:1.12 src/sys/dev/pci/iavc_pci.c:1.13 --- src/sys/dev/pci/iavc_pci.c:1.12 Thu Nov 26 15:17:09 2009 +++ src/sys/dev/pci/iavc_pci.c Sun Dec 6 22:44:55 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: iavc_pci.c,v 1.12 2009/11/26 15:17:09 njoly Exp $ */ +/* $NetBSD: iavc_pci.c,v 1.13 2009/12/06 22:44:55 dyoung Exp $ */ /* * Copyright (c) 2001-2003 Cubical Solutions Ltd. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: iavc_pci.c,v 1.12 2009/11/26 15:17:09 njoly Exp $"); +__KERNEL_RCSID(0, "$NetBSD: iavc_pci.c,v 1.13 2009/12/06 22:44:55 dyoung Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -349,27 +349,4 @@ return 0; } - -static int -iavc_pci_activate(device_t self, enum devact act) -{ - struct iavc_softc *psc = device_private(self); - int error, s; - - error = 0; - - s = splnet(); - switch (act) { - case DVACT_ACTIVATE: - error = EOPNOTSUPP; - break; - case DVACT_DEACTIVATE: - /* XXX */ - break; - } - - splx(s); - - return error; -} #endif