Skip to content

Commit e7899eb

Browse files
Dr. David Alan Gilbertgregkh
authored andcommitted
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" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1d26ba0 commit e7899eb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

drivers/usb/musb/musb_gadget.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,15 +1156,6 @@ void musb_free_request(struct usb_ep *ep, struct usb_request *req)
11561156
kfree(request);
11571157
}
11581158

1159-
static LIST_HEAD(buffers);
1160-
1161-
struct free_record {
1162-
struct list_head list;
1163-
struct device *dev;
1164-
unsigned bytes;
1165-
dma_addr_t dma;
1166-
};
1167-
11681159
/*
11691160
* Context: controller locked, IRQs blocked.
11701161
*/

0 commit comments

Comments
 (0)