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:
parent
17c5525875
commit
5da99a94e8
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user