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

Commit f3314511 authored by Udipto Goswami's avatar Udipto Goswami
Browse files

usb: gadget: u_serial: Remove extra list operation from gs_start_tx



Commit Ic16cb8ec09c ("usb: gadget: u_serial: Rectify the list operations
is rx/tx path") reworks the list operations to handle the requests
in a proper manner, however gs_start_tx has double list operation which
is incorrect and hence removing it.

Change-Id: I6135cdad5ec5f1922c68e652963d5d8a433a990f
Signed-off-by: default avatarUdipto Goswami <quic_ugoswami@quicinc.com>
parent 757fbe88
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -254,7 +254,6 @@ __acquires(&port->port_lock)
		do_tty_wake = true;

		req->length = len;
		list_move_tail(&req->list, &port->queued_write_pool);
		req->zero = kfifo_is_empty(&port->port_write_buf);

		pr_vdebug("ttyGS%d: tx len=%d, 0x%02x 0x%02x 0x%02x ...\n",