From be9bd88238ecbf423e5a3c1a3d9664ef635bafd2 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 1 Jun 2004 11:57:15 +0000 Subject: There is no need to explicitly call the stop function. In all likelyhood ->l_close() did it and ttyclose certainly will. --- sys/dev/cy/cy.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/cy') diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index 710633322de9..194b01c1620d 100644 --- a/sys/dev/cy/cy.c +++ b/sys/dev/cy/cy.c @@ -795,7 +795,6 @@ sioclose(dev, flag, mode, td) cd_etc(com, CD1400_ETC_STOPBREAK); (*linesw[tp->t_line].l_close)(tp, flag); disc_optim(tp, &tp->t_termios, com); - comstop(tp, FREAD | FWRITE); comhardclose(com); ttyclose(tp); siosettimeout(); -- cgit v1.3