Skip to content

Commit

Permalink
UPSTREAM: usb: gadget: function: Remove unused declarations
Browse files Browse the repository at this point in the history
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
Change-Id: Ib1ac4d7ecada70d467cd9b2d688f13ba3797a05c
(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>
  • Loading branch information
Yue Haibing authored and Avichal Rakesh committed Oct 30, 2023
1 parent 0f24a9e commit b153f0c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion drivers/usb/gadget/function/u_phonet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
4 changes: 0 additions & 4 deletions drivers/usb/gadget/function/u_serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
2 changes: 0 additions & 2 deletions drivers/usb/gadget/function/uvc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b153f0c

Please sign in to comment.