If we're going to ifdef out the only reference to asr_drvinit, then

go ahead and ifdef out the function too.
This commit is contained in:
imp 2002-02-26 03:22:44 +00:00
parent b7821a97ea
commit ddfe22a475

View File

@ -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