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 <>
parent 757fbe88
......@@ -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",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment