summaryrefslogtreecommitdiffstats
path: root/sys/dev/asr
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-02-26 03:22:44 +0000
committerimp <imp@FreeBSD.org>2002-02-26 03:22:44 +0000
commitddfe22a47501a00ee55074bdee51c4a39e18c143 (patch)
tree26784edce55e963d0a08473429899ddd98819861 /sys/dev/asr
parentb7821a97ea8e0fd565bedcb30abda0397eed3d6d (diff)
downloadFreeBSD-src-ddfe22a47501a00ee55074bdee51c4a39e18c143.zip
FreeBSD-src-ddfe22a47501a00ee55074bdee51c4a39e18c143.tar.gz
If we're going to ifdef out the only reference to asr_drvinit, then
go ahead and ifdef out the function too.
Diffstat (limited to 'sys/dev/asr')
-rw-r--r--sys/dev/asr/asr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/asr/asr.c b/sys/dev/asr/asr.c
index 893950f..1dad6b7 100644
--- a/sys/dev/asr/asr.c
+++ b/sys/dev/asr/asr.c
@@ -597,6 +597,7 @@ STATIC u_int32_t asr_time_delta __P((IN struct timeval start,
IN struct timeval end));
#endif
+#ifdef ASR_VERY_BROKEN
/*
* Initialize the dynamic cdevsw hooks.
*/
@@ -635,7 +636,6 @@ asr_drvinit (
} /* asr_drvinit */
/* Must initialize before CAM layer picks up our HBA driver */
-#ifdef ASR_VERY_BROKEN
SYSINIT(asrdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,asr_drvinit,NULL)
#endif
OpenPOWER on IntegriCloud