mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
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: Udipto Goswami <quic_ugoswami@quicinc.com>
This commit is contained in:
parent
757fbe8895
commit
f33145118b
1 changed files with 0 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue