diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2023-08-18 20:40:25 +0800 |
---|---|---|
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | 2023-10-31 21:42:31 +0000 |
commit | ac5e9e33524a176554e5f6a6d79f4e678ec67176 (patch) | |
tree | 76202be37cfc20017ef08ef3a6c25c6f73a2512a | |
parent | 4ecf27b856e8c0a2095dba78d5c0d168790dd7a9 (diff) | |
download | common-ac5e9e33524a176554e5f6a6d79f4e678ec67176.tar.gz |
UPSTREAM: usb: gadget: function: Remove unused declarations
These declarations are not implemented anymore, remove them.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20230818124025.51576-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Bug: 301887900
(cherry picked from commit ae257611573cde279d31be3961a59e255f567fb0
https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/usb usb-next)
Signed-off-by: Avichal Rakesh <arakesh@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:b153f0c5b29b2d087b8543749f55a3e1bae0613b)
Merged-In: Ib1ac4d7ecada70d467cd9b2d688f13ba3797a05c
Change-Id: Ib1ac4d7ecada70d467cd9b2d688f13ba3797a05c
-rw-r--r-- | drivers/usb/gadget/function/u_phonet.h | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/function/u_serial.h | 4 | ||||
-rw-r--r-- | drivers/usb/gadget/function/uvc.h | 2 |
3 files changed, 0 insertions, 7 deletions
diff --git a/drivers/usb/gadget/function/u_phonet.h b/drivers/usb/gadget/function/u_phonet.h index c53233b37192..ff62ca22c40d 100644 --- a/drivers/usb/gadget/function/u_phonet.h +++ b/drivers/usb/gadget/function/u_phonet.h @@ -20,7 +20,6 @@ struct f_phonet_opts { struct net_device *gphonet_setup_default(void); void gphonet_set_gadget(struct net_device *net, struct usb_gadget *g); int gphonet_register_netdev(struct net_device *net); -int phonet_bind_config(struct usb_configuration *c, struct net_device *dev); void gphonet_cleanup(struct net_device *dev); #endif /* __U_PHONET_H */ diff --git a/drivers/usb/gadget/function/u_serial.h b/drivers/usb/gadget/function/u_serial.h index 102a7323a1fd..901d99310bc4 100644 --- a/drivers/usb/gadget/function/u_serial.h +++ b/drivers/usb/gadget/function/u_serial.h @@ -71,8 +71,4 @@ void gserial_disconnect(struct gserial *); void gserial_suspend(struct gserial *p); void gserial_resume(struct gserial *p); -/* functions are bound to configurations by a config or gadget driver */ -int gser_bind_config(struct usb_configuration *c, u8 port_num); -int obex_bind_config(struct usb_configuration *c, u8 port_num); - #endif /* __U_SERIAL_H */ diff --git a/drivers/usb/gadget/function/uvc.h b/drivers/usb/gadget/function/uvc.h index 40226b1f7e14..289c5611e138 100644 --- a/drivers/usb/gadget/function/uvc.h +++ b/drivers/usb/gadget/function/uvc.h @@ -176,8 +176,6 @@ struct uvc_file_handle { */ extern void uvc_function_setup_continue(struct uvc_device *uvc); -extern void uvc_endpoint_stream(struct uvc_device *dev); - extern void uvc_function_connect(struct uvc_device *uvc); extern void uvc_function_disconnect(struct uvc_device *uvc); |