summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/pl2303.c
diff options
context:
space:
mode:
authorLuiz Fernando N. Capitulino2006-07-25 21:58:30 +0200
committerGreg Kroah-Hartman2006-09-27 20:58:51 +0200
commita009b75aa0ed55f0bc473c8a3b3e872cbca807ec (patch)
treee9160c47a4fcfa8adf365e4cf811b9addb955a20 /drivers/usb/serial/pl2303.c
parentusbtouchscreen: version 0.4 (diff)
downloadkernel-qcow2-linux-a009b75aa0ed55f0bc473c8a3b3e872cbca807ec.tar.gz
kernel-qcow2-linux-a009b75aa0ed55f0bc473c8a3b3e872cbca807ec.tar.xz
kernel-qcow2-linux-a009b75aa0ed55f0bc473c8a3b3e872cbca807ec.zip
USB: pl2303: Removes unneeded goto.
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
-rw-r--r--drivers/usb/serial/pl2303.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
index 65e4d046951a..54c32ccce626 100644
--- a/drivers/usb/serial/pl2303.c
+++ b/drivers/usb/serial/pl2303.c
@@ -824,16 +824,13 @@ static void pl2303_update_line_status(struct usb_serial_port *port,
}
if (actual_length < length)
- goto exit;
+ return;
/* Save off the uart status for others to look at */
spin_lock_irqsave(&priv->lock, flags);
priv->line_status = data[status_idx];
spin_unlock_irqrestore(&priv->lock, flags);
wake_up_interruptible (&priv->delta_msr_wait);
-
-exit:
- return;
}
static void pl2303_read_int_callback (struct urb *urb, struct pt_regs *regs)