summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Tourrilhes <jt@bougret.hpl.hp.com>2003-09-05 13:08:30 -0400
committerLinus Torvalds <torvalds@home.osdl.org>2003-09-05 13:08:30 -0400
commit5cd7cf611fcfe972c2f5cbd0a783535edc432fa0 (patch)
treeb210e114f1b858c027b3330130d6f798d6e65b28
parentd742b6edbdc6a5f52035936f24c59344709e5d18 (diff)
[irda] IrCOMM mod refcount
o [FEATURE] Finish removing traces of old module refcount stuff
-rw-r--r--net/irda/ircomm/ircomm_tty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/irda/ircomm/ircomm_tty.c b/net/irda/ircomm/ircomm_tty.c
index 82c090f08df5..42a8044ceea1 100644
--- a/net/irda/ircomm/ircomm_tty.c
+++ b/net/irda/ircomm/ircomm_tty.c
@@ -441,7 +441,6 @@ static int ircomm_tty_open(struct tty_struct *tty, struct file *filp)
return -ERESTARTSYS;
}
- /* MOD_DEC_USE_COUNT; "info->tty" will cause this? */
#ifdef SERIAL_DO_RESTART
return ((self->flags & ASYNC_HUP_NOTIFY) ?
-EAGAIN : -ERESTARTSYS);
@@ -469,7 +468,6 @@ static int ircomm_tty_open(struct tty_struct *tty, struct file *filp)
ret = ircomm_tty_block_til_ready(self, filp);
if (ret) {
- /* MOD_DEC_USE_COUNT; "info->tty" will cause this? */
IRDA_DEBUG(2,
"%s(), returning after block_til_ready with %d\n", __FUNCTION__ ,
ret);