diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-06-04 07:35:18 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-12 18:50:23 -0400 |
commit | 580d27b449cb8f540bba1cc54066bb44f4e6242d (patch) | |
tree | 1b7d77b121c634238d9a2e7a0d3e18f02e2fdc47 /include/net/irda | |
parent | 2a0213cb1e1ca6b2838595b0d70f09ecc4953ba9 (diff) |
TTY: ircomm, use open counts from tty_port
Switch to tty_port->count and blocked_open.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Samuel Ortiz <samuel@sortiz.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/irda')
-rw-r--r-- | include/net/irda/ircomm_tty.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/irda/ircomm_tty.h b/include/net/irda/ircomm_tty.h index b4184d089cc4..5e94bad92620 100644 --- a/include/net/irda/ircomm_tty.h +++ b/include/net/irda/ircomm_tty.h | |||
@@ -101,9 +101,6 @@ struct ircomm_tty_cb { | |||
101 | struct timer_list watchdog_timer; | 101 | struct timer_list watchdog_timer; |
102 | struct work_struct tqueue; | 102 | struct work_struct tqueue; |
103 | 103 | ||
104 | int open_count; | ||
105 | int blocked_open; /* # of blocked opens */ | ||
106 | |||
107 | /* Protect concurent access to : | 104 | /* Protect concurent access to : |
108 | * o self->open_count | 105 | * o self->open_count |
109 | * o self->ctrl_skb | 106 | * o self->ctrl_skb |