]> git.hungrycats.org Git - linux/commitdiff
[irda] IrCOMM mod refcount
authorJean Tourrilhes <jt@bougret.hpl.hp.com>
Fri, 5 Sep 2003 17:08:30 +0000 (13:08 -0400)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 5 Sep 2003 17:08:30 +0000 (13:08 -0400)
o [FEATURE] Finish removing traces of old module refcount stuff

net/irda/ircomm/ircomm_tty.c

index 82c090f08df511af439ad7f05e9d69e25a052a66..42a8044ceea128eb5cad70ec77aca4b00b56a6b3 100644 (file)
@@ -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);