diff options
author | alfred <alfred@FreeBSD.org> | 2002-04-01 06:09:17 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-04-01 06:09:17 +0000 |
commit | 52966059c3f8d89480894d7662d805eafc90c825 (patch) | |
tree | c15ec6d4499b064626eea27d00bca4d0de68ba72 /sys | |
parent | 5d1a9608c28434bb28e5163e26f712421d0392ef (diff) | |
download | FreeBSD-src-52966059c3f8d89480894d7662d805eafc90c825.zip FreeBSD-src-52966059c3f8d89480894d7662d805eafc90c825.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/asr/asr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/asr/asr.c b/sys/dev/asr/asr.c index b26c1a9..cdef43d 100644 --- a/sys/dev/asr/asr.c +++ b/sys/dev/asr/asr.c @@ -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 */ |