From 52966059c3f8d89480894d7662d805eafc90c825 Mon Sep 17 00:00:00 2001 From: alfred Date: Mon, 1 Apr 2002 06:09:17 +0000 Subject: 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 --- sys/dev/asr/asr.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/asr/asr.c') 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 */ -- cgit v1.1