aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-03-21 07:37:11 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-25 16:50:53 -0400
commit09b0e3957549e7036a66e4597a7167e43861cfd6 (patch)
tree14f741aa27102542490105d9adbfd3f3d6990c16
parent48ee5801381dba2e80187c08f15713e859ab5c0f (diff)
USB: iuu_phoenix: remove unused MSR-wait queue
Remove unused, private modem-status wait queue from driver. If TIOCMIWAIT is ever implemented it must not rely on a private wait queue which may have been released when woken up. Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/serial/iuu_phoenix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c
index 8eeefe3af0b6..1ccf9e4e82c2 100644
--- a/drivers/usb/serial/iuu_phoenix.c
+++ b/drivers/usb/serial/iuu_phoenix.c
@@ -55,7 +55,6 @@ static void read_rxcmd_callback(struct urb *urb);
55 55
56struct iuu_private { 56struct iuu_private {
57 spinlock_t lock; /* store irq state */ 57 spinlock_t lock; /* store irq state */
58 wait_queue_head_t delta_msr_wait;
59 u8 line_status; 58 u8 line_status;
60 int tiostatus; /* store IUART SIGNAL for tiocmget call */ 59 int tiostatus; /* store IUART SIGNAL for tiocmget call */
61 u8 reset; /* if 1 reset is needed */ 60 u8 reset; /* if 1 reset is needed */
@@ -94,7 +93,6 @@ static int iuu_port_probe(struct usb_serial_port *port)
94 93
95 priv->vcc = vcc_default; 94 priv->vcc = vcc_default;
96 spin_lock_init(&priv->lock); 95 spin_lock_init(&priv->lock);
97 init_waitqueue_head(&priv->delta_msr_wait);
98 96
99 usb_set_serial_port_data(port, priv); 97 usb_set_serial_port_data(port, priv);
100 98