]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: remove unnecessary code
authorFelipe Balbi <balbi@ti.com>
Fri, 15 Feb 2013 08:45:42 +0000 (10:45 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 4 Mar 2013 07:33:25 +0000 (09:33 +0200)
commit3d1d41c8eae7f839eeb8ad96b5bdc2007c8703e7
treed79f062fe1a0addaab6ee38916cb71c36b80f48f
parent53db9021026da522846416cfcd8bf249a2683538
usb: dwc3: gadget: remove unnecessary code

the params variables on dwc3_gadget_conndone_interrupt()
is only memset() to zero but never used in
that function, so we can safely drop the variable
and memset() call.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c