]> git.baikalelectronics.ru Git - kernel.git/commit
usb: cdns3: Variable 'length' set but not used
authorPawel Laszczak <pawell@cadence.com>
Mon, 12 Oct 2020 06:45:48 +0000 (08:45 +0200)
committerPeter Chen <peter.chen@nxp.com>
Wed, 28 Oct 2020 07:25:59 +0000 (15:25 +0800)
commitd9296e951ad0a046bdeaf6c0141f768a6d363e65
tree1b05924c487b37b291a7124ba5cc9134e30a5571
parent68ed2672b8fdb9454c449f573990714135c93adc
usb: cdns3: Variable 'length' set but not used

Patch removes not used variable 'length' from
cdns3_wa2_descmiss_copy_data function.

Fixes: 76d4c09b182b ("usb: cdns3: gadget: need to handle sg case for workaround 2 case")
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/cdns3/gadget.c