[PATCH] USB serial: encapsulate schedule_work, remove double-calling

I'm going to throw schedule_work away, it's retarded. But for starters,
let's have it encapsulated.

Also, generic and whiteheat were both calling usb_serial_port_softint
and scheduled work. Only one was necessary.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
このコミットが含まれているのは:
Pete Zaitcev
2006-05-22 21:58:49 -07:00
committed by Greg Kroah-Hartman
コミット cf2c7481d2
18個のファイルの変更29行の追加25行の削除

ファイルの表示

@@ -824,7 +824,7 @@ send:
priv->bytes_out += count; /* do not count the line control and size bytes */
spin_unlock_irqrestore(&priv->lock, flags);
schedule_work(&port->work);
usb_serial_port_softint(port);
} /* cypress_send */