diff options
author | Dr. David Alan Gilbert <linux@treblig.org> | 2024-05-04 18:03:15 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-10 12:36:02 +0300 |
commit | e7899ebb4301f87fe0af8a5d1ad28e3ddd85f4e3 (patch) | |
tree | 0c06ef050a5647fa52841d2167f786c7216e34bc /drivers/usb | |
parent | 1d26ba0944d398f88aaf997bda3544646cf21945 (diff) | |
download | linux-e7899ebb4301f87fe0af8a5d1ad28e3ddd85f4e3.tar.xz |
usb: musc: Remove unused list 'buffers'
Remove the unused list head 'buffers' and the
'struct free_record' which is also unused below it.
To me it looks like this has always been unused, but I've
not dug into why.
Build test only.
Signed-off-by: "Dr. David Alan Gilbert" <linux@treblig.org>
Link: https://lore.kernel.org/r/20240504150315.77598-1-linux@treblig.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/musb/musb_gadget.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 55df0ee413d8..bdf13911a1e5 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. */ |