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>
This commit is contained in:
Luiz Fernando N. Capitulino 2006-07-25 16:58:30 -03:00 committed by Greg Kroah-Hartman
parent 5d8926658c
commit a009b75aa0
1 changed files with 1 additions and 4 deletions

View 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)