[PATCH 2.6 IrDA] IrCOMM mod refcount

From: Jean Tourrilhes
Date: Fri Sep 05 2003 - 16:49:45 EST


ir2604_ircomm_owner-2.diff :
~~~~~~~~~~~~~~~~~~~~~~~~~~
o [FEATURE] Finish removing traces of old module refcount stuff


diff -u -p linux/net/irda/ircomm/ircomm_tty.d2.c linux/net/irda/ircomm/ircomm_tty.c
--- linux/net/irda/ircomm/ircomm_tty.d2.c Wed Sep 3 18:16:39 2003
+++ linux/net/irda/ircomm/ircomm_tty.c Wed Sep 3 18:18:01 2003
@@ -441,7 +441,6 @@ static int ircomm_tty_open(struct tty_st
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_st

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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/