From 47f953625980b9ced45cb26110ff314c75d3515b Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 26 Feb 2002 03:22:44 +0000 Subject: If we're going to ifdef out the only reference to asr_drvinit, then go ahead and ifdef out the function too. --- sys/dev/asr/asr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/asr') diff --git a/sys/dev/asr/asr.c b/sys/dev/asr/asr.c index 893950f757f3..1dad6b7d8a8a 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 -- cgit v1.2.3