Message ID | 20240504150315.77598-1-linux@treblig.org (mailing list archive) |
---|---|
State | Accepted |
Commit | e7899ebb4301f87fe0af8a5d1ad28e3ddd85f4e3 |
Headers | show |
Series | usb: musc: Remove unused list 'buffers' | expand |
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 55df0ee413d8e..bdf13911a1e59 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c @@ -1156,15 +1156,6 @@ void musb_free_request(struct usb_ep *ep, struct usb_request *req) kfree(request); } -static LIST_HEAD(buffers); - -struct free_record { - struct list_head list; - struct device *dev; - unsigned bytes; - dma_addr_t dma; -}; - /* * Context: controller locked, IRQs blocked. */