USB: pl2303: Removes unneeded goto.
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Tue, 25 Jul 2006 19:58:30 +0000 (16:58 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:51 +0000 (11:58 -0700)
Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/pl2303.c

index 65e4d046951aa7439c0de36eda9b699a90b2a476..54c32ccce626cd59eb2ceaaec0b88d7f087ea70b 100644 (file)
@@ -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)