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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
2a0213cb1e
commit
580d27b449
@@ -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
|
||||
|
Reference in New Issue
Block a user