
Hi,
On Mon, 26 Aug 2024 16:38:36 +0200, Marek Vasut wrote:
The release parameter of usb_add_gadget_udc_release() is never used. The function is never called from anywhere except from a wrapper in udc-core.c . Inline the function into the wrapper.
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)
[1/6] usb: gadget: Inline usb_add_gadget_udc_release https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/188b26ea92f86b5... [2/6] usb: gadget: Drop usb_udc_release() https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/1ef703d73dbb5cf... [3/6] usb: gadget: Track driver data as part of struct usb_gadget https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/534a3e8c1a067da... [4/6] usb: gadget: Drop dev_to_usb_gadget() https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/1d030ba01de4ed7... [5/6] usb: gadget: dwc2: Drop get/set_udc_gadget_private_data() https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a765f5d6b498220... [6/6] usb: gadget: Pass struct udevice to usb_add_gadget_udc() https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/75c142c73242d91...
-- Mattijs