diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2006-05-23 00:58:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 18:04:13 -0400 |
commit | cf2c7481d2ff7f0c266de873b2fe93883e9782f9 (patch) | |
tree | 35dba35b3969f431feb0dfe5732c3825aa077a22 /drivers/usb/serial/pl2303.c | |
parent | ad93375a30334cd97a61f7076d242e1cfdb66abc (diff) |
[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>
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index c96714bb1cb8..2ca6dd94796f 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -314,7 +314,7 @@ static void pl2303_send(struct usb_serial_port *port) | |||
314 | // TODO: reschedule pl2303_send | 314 | // TODO: reschedule pl2303_send |
315 | } | 315 | } |
316 | 316 | ||
317 | schedule_work(&port->work); | 317 | usb_serial_port_softint(port); |
318 | } | 318 | } |
319 | 319 | ||
320 | static int pl2303_write_room(struct usb_serial_port *port) | 320 | static int pl2303_write_room(struct usb_serial_port *port) |