diff options
Diffstat (limited to 'kernel/drivers/net/irda')
-rw-r--r-- | kernel/drivers/net/irda/irtty-sir.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/drivers/net/irda/irtty-sir.c b/kernel/drivers/net/irda/irtty-sir.c index 696852eb2..7a3f990c1 100644 --- a/kernel/drivers/net/irda/irtty-sir.c +++ b/kernel/drivers/net/irda/irtty-sir.c @@ -430,16 +430,6 @@ static int irtty_open(struct tty_struct *tty) /* Module stuff handled via irda_ldisc.owner - Jean II */ - /* First make sure we're not already connected. */ - if (tty->disc_data != NULL) { - priv = tty->disc_data; - if (priv && priv->magic == IRTTY_MAGIC) { - ret = -EEXIST; - goto out; - } - tty->disc_data = NULL; /* ### */ - } - /* stop the underlying driver */ irtty_stop_receiver(tty, TRUE); if (tty->ops->stop) |