[PATCH v1] usb: gadget: udc: atmel: Remove an unused local variable

Romain Izard romain.izard.pro at gmail.com
Fri Mar 10 07:30:20 PST 2017


2017-03-09 18:02 GMT+01:00 Romain Izard <romain.izard.pro at gmail.com>:
> The local variable ept_cfg is not used anymore in usba_ep_enable.
> Use ep->ept_cfg in the debug function to remove a warning when building
> with dynamic debug enabled.
>
> Signed-off-by: Romain Izard <romain.izard.pro at gmail.com>
> Fixes: 741d2558bf0a ("usb: gadget: udc: atmel: Update endpoint allocation scheme")

Sorry for the noise, 4242820277b5 ("usb: gadget: udc: atmel: fix debug
output") in Greg KH's tree already fixed this.

-- 
Romain Izard



More information about the linux-arm-kernel mailing list