summaryrefslogtreecommitdiffstats
path: root/include/net/irda
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-06-04 13:35:18 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-12 15:50:23 -0700
commit580d27b449cb8f540bba1cc54066bb44f4e6242d (patch)
tree1b7d77b121c634238d9a2e7a0d3e18f02e2fdc47 /include/net/irda
parent2a0213cb1e1ca6b2838595b0d70f09ecc4953ba9 (diff)
downloadlinux-stable-580d27b449cb8f540bba1cc54066bb44f4e6242d.tar.gz
linux-stable-580d27b449cb8f540bba1cc54066bb44f4e6242d.tar.bz2
linux-stable-580d27b449cb8f540bba1cc54066bb44f4e6242d.zip
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.h3
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 {
struct timer_list watchdog_timer;
struct work_struct tqueue;
- int open_count;
- int blocked_open; /* # of blocked opens */
-
/* Protect concurent access to :
* o self->open_count
* o self->ctrl_skb