diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2021-06-14 17:28:33 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-06-15 11:22:30 +0200 |
commit | c664a44f6f5a78970384efeab440ac295c1b8b6b (patch) | |
tree | c9bc9a549beb203ec3eb636a59304f932dca875c /include/usb | |
parent | 4767861b2aa418b138ad36655c292da83957a2b3 (diff) | |
download | barebox-c664a44f6f5a78970384efeab440ac295c1b8b6b.tar.gz barebox-c664a44f6f5a78970384efeab440ac295c1b8b6b.tar.xz |
drivers: drop unused usb_gadget_{map,unmap}_request()
There is no code that is dependent on
usb_gadget_{map,unmap}_request().
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Link: https://lore.barebox.org/20210614142833.86544-1-antonynpavlov@gmail.com
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/usb')
-rw-r--r-- | include/usb/gadget.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/usb/gadget.h b/include/usb/gadget.h index 3e1d7153dc..431f316c46 100644 --- a/include/usb/gadget.h +++ b/include/usb/gadget.h @@ -1002,16 +1002,6 @@ void usb_free_all_descriptors(struct usb_function *f); /*-------------------------------------------------------------------------*/ -/* utility to simplify map/unmap of usb_requests to/from DMA */ - -extern int usb_gadget_map_request(struct usb_gadget *gadget, - struct usb_request *req, int is_in); - -extern void usb_gadget_unmap_request(struct usb_gadget *gadget, - struct usb_request *req, int is_in); - -/*-------------------------------------------------------------------------*/ - /* utility to set gadget state properly */ extern void usb_gadget_set_state(struct usb_gadget *gadget, |