]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: dwc3: gadget: Remove duplicate check while setting xfer resource
authorPrashanth K <prashanth.k@oss.qualcomm.com>
Thu, 19 Jun 2025 12:03:39 +0000 (17:33 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jun 2025 14:40:29 +0000 (15:40 +0100)
commitba9591f39d530eb7cab122d312d471985733767a
treed23b7735a1a894632934c9fb9c627e1734c7f662
parent4f4b2f13044d55190ac7963dc8ef563a39844548
usb: dwc3: gadget: Remove duplicate check while setting xfer resource

Remove the duplicate check for DWC3_EP_RESOURCE_ALLOCATED flag,
as its already checked inside dwc3_gadget_set_xfer_resource()

Signed-off-by: Prashanth K <prashanth.k@oss.qualcomm.com>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20250619120339.847708-1-prashanth.k@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/gadget.c