From 54056d2da9130dd182a89e961ef6d780c2ef5ca8 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 4 Nov 2001 08:49:51 +0000 Subject: [PATCH] Call to cdevsw_add() no longer needed. --- sys/dev/cy/cy.c | 1 - sys/dev/cy/cy_isa.c | 1 - sys/i386/isa/cy.c | 1 - 3 files changed, 3 deletions(-) diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index 728ea0a32ad..20316adcd7c 100644 --- a/sys/dev/cy/cy.c +++ b/sys/dev/cy/cy.c @@ -629,7 +629,6 @@ cyattach_common(cy_iobase, cy_align) splx(s); if (sio_ih == NULL) { - cdevsw_add(&sio_cdevsw); swi_add(&tty_ithd, "tty:cy", siopoll, NULL, SWI_TTY, 0, &sio_ih); } diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c index 728ea0a32ad..20316adcd7c 100644 --- a/sys/dev/cy/cy_isa.c +++ b/sys/dev/cy/cy_isa.c @@ -629,7 +629,6 @@ cyattach_common(cy_iobase, cy_align) splx(s); if (sio_ih == NULL) { - cdevsw_add(&sio_cdevsw); swi_add(&tty_ithd, "tty:cy", siopoll, NULL, SWI_TTY, 0, &sio_ih); } diff --git a/sys/i386/isa/cy.c b/sys/i386/isa/cy.c index 728ea0a32ad..20316adcd7c 100644 --- a/sys/i386/isa/cy.c +++ b/sys/i386/isa/cy.c @@ -629,7 +629,6 @@ cyattach_common(cy_iobase, cy_align) splx(s); if (sio_ih == NULL) { - cdevsw_add(&sio_cdevsw); swi_add(&tty_ithd, "tty:cy", siopoll, NULL, SWI_TTY, 0, &sio_ih); }