TTY: quatech2, remove unneeded is_open
authorJiri Slaby <jslaby@suse.cz>
Thu, 7 Mar 2013 12:12:31 +0000 (13:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:21:26 +0000 (16:21 -0700)
commite4408ce3c23f8451eff7a2954694598fb8fce833
tree310aeb3fe12030b9c69cb20ded75ae56ccd8a82c
parent6aad04f21374633bd8cecf25024553d1e11a9522
TTY: quatech2, remove unneeded is_open

tty->ops->break_ctl cannot be called outside the gap between open and
close. So there is no need to check whether the port is open in
break_ctl in quatech2. Remove the check and also that member
completely.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/quatech2.c