Remove erronious destroy_dev. Not sure what the author's intent was here

but this makes the driver not panic my -current box.

Approved by: scottl
This commit is contained in:
Alfred Perlstein 2002-04-01 06:09:17 +00:00
parent 17c5525875
commit 5da99a94e8

View File

@ -3179,7 +3179,6 @@ asr_attach (ATTACH_ARGS)
* Generate the device node information
*/
(void)make_dev(&asr_cdevsw, unit, 0, 0, S_IRWXU, "rasr%d", unit);
destroy_dev(makedev(asr_cdevsw.d_maj,unit+1));
ATTACH_RETURN(0);
} /* asr_attach */