提交 09b0e395 编写于 作者: J Johan Hovold 提交者: Greg Kroah-Hartman

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: NJohan Hovold <jhovold@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 48ee5801
...@@ -55,7 +55,6 @@ static void read_rxcmd_callback(struct urb *urb); ...@@ -55,7 +55,6 @@ static void read_rxcmd_callback(struct urb *urb);
struct iuu_private { struct iuu_private {
spinlock_t lock; /* store irq state */ spinlock_t lock; /* store irq state */
wait_queue_head_t delta_msr_wait;
u8 line_status; u8 line_status;
int tiostatus; /* store IUART SIGNAL for tiocmget call */ int tiostatus; /* store IUART SIGNAL for tiocmget call */
u8 reset; /* if 1 reset is needed */ u8 reset; /* if 1 reset is needed */
...@@ -94,7 +93,6 @@ static int iuu_port_probe(struct usb_serial_port *port) ...@@ -94,7 +93,6 @@ static int iuu_port_probe(struct usb_serial_port *port)
priv->vcc = vcc_default; priv->vcc = vcc_default;
spin_lock_init(&priv->lock); spin_lock_init(&priv->lock);
init_waitqueue_head(&priv->delta_msr_wait);
usb_set_serial_port_data(port, priv); usb_set_serial_port_data(port, priv);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册