From f33145118b3dea1ed0af1d077724105bfe4727b3 Mon Sep 17 00:00:00 2001 From: Udipto Goswami Date: Thu, 21 Apr 2022 15:11:02 +0530 Subject: [PATCH] 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 --- drivers/usb/gadget/function/u_serial.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/gadget/function/u_serial.c b/drivers/usb/gadget/function/u_serial.c index 2f226d15aea6..dd9ba1ab4a0c 100644 --- a/drivers/usb/gadget/function/u_serial.c +++ b/drivers/usb/gadget/function/u_serial.c @@ -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",