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

Commit 8c2a437b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: u_ctrl_qti: Remove redundant check in qti_ctrl_write()"

parents 7c02ef2b 3cd77ace
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -485,7 +485,7 @@ qti_ctrl_write(struct file *fp, const char __user *buf, size_t count,
	port->copied_from_modem++;

	spin_lock_irqsave(&port->lock, flags);
	if (port && port->port_usb) {
	if (port->port_usb) {
		if (port->port_type == QTI_PORT_RMNET) {
			g_rmnet = (struct grmnet *)port->port_usb;
		} else {