USB: mos7720: remove broken get_icount and TIOCMIWAIT
authorJohan Hovold <jhovold@gmail.com>
Thu, 21 Mar 2013 11:37:14 +0000 (12:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 20:52:24 +0000 (13:52 -0700)
commit35711578044076d00d396cb6787d3cc593a4c35a
treec34e9522e8d32f9a99cbc63cf7f7109ac6e9ab56
parent128434ab5607c6bccf385765e94382cedd3d06fa
USB: mos7720: remove broken get_icount and TIOCMIWAIT

Remove broken get_icount and TIOCMIWAIT support.

The driver has an icount structure but it is never been updated which
makes get_icount rather pointless and causes TIOCMIWAIT to always return
-EIO.

Note that the TIOCMIWAIT implementation has always been broken and would
not work even if icount support was added as it does not wait for the
modem status to change (does not use a work queue at all).

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7720.c