Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a009b75a authored by Luiz Fernando N. Capitulino's avatar Luiz Fernando N. Capitulino Committed by Greg Kroah-Hartman
Browse files

USB: pl2303: Removes unneeded goto.

parent 5d892665
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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)