diff options
author | Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> | 2006-07-25 15:58:30 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 14:58:51 -0400 |
commit | a009b75aa0ed55f0bc473c8a3b3e872cbca807ec (patch) | |
tree | e9160c47a4fcfa8adf365e4cf811b9addb955a20 /drivers | |
parent | 5d8926658ce41b254fdfba7d057e6c9438c25cca (diff) |
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')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 5 |
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, | |||
824 | } | 824 | } |
825 | 825 | ||
826 | if (actual_length < length) | 826 | if (actual_length < length) |
827 | goto exit; | 827 | return; |
828 | 828 | ||
829 | /* Save off the uart status for others to look at */ | 829 | /* Save off the uart status for others to look at */ |
830 | spin_lock_irqsave(&priv->lock, flags); | 830 | spin_lock_irqsave(&priv->lock, flags); |
831 | priv->line_status = data[status_idx]; | 831 | priv->line_status = data[status_idx]; |
832 | spin_unlock_irqrestore(&priv->lock, flags); | 832 | spin_unlock_irqrestore(&priv->lock, flags); |
833 | wake_up_interruptible (&priv->delta_msr_wait); | 833 | wake_up_interruptible (&priv->delta_msr_wait); |
834 | |||
835 | exit: | ||
836 | return; | ||
837 | } | 834 | } |
838 | 835 | ||
839 | static void pl2303_read_int_callback (struct urb *urb, struct pt_regs *regs) | 836 | static void pl2303_read_int_callback (struct urb *urb, struct pt_regs *regs) |