aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/cyclades.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/cyclades.c')
-rw-r--r--drivers/char/cyclades.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c
index 4254457d3911..274e9651fa36 100644
--- a/drivers/char/cyclades.c
+++ b/drivers/char/cyclades.c
@@ -598,12 +598,6 @@ static void cyy_chip_tx(struct cyclades_card *cinfo, unsigned int chip,
598 save_car = readb(base_addr + (CyCAR << index)); 598 save_car = readb(base_addr + (CyCAR << index));
599 cy_writeb(base_addr + (CyCAR << index), save_xir); 599 cy_writeb(base_addr + (CyCAR << index), save_xir);
600 600
601 /* validate the port# (as configured and open) */
602 if (channel + chip * 4 >= cinfo->nports) {
603 cy_writeb(base_addr + (CySRER << index),
604 readb(base_addr + (CySRER << index)) & ~CyTxRdy);
605 goto end;
606 }
607 info = &cinfo->ports[channel + chip * 4]; 601 info = &cinfo->ports[channel + chip * 4];
608 tty = tty_port_tty_get(&info->port); 602 tty = tty_port_tty_get(&info->port);
609 if (tty == NULL) { 603 if (tty == NULL) {