|
@@ -292,15 +292,6 @@ struct usbip_device {
|
|
|
} eh_ops;
|
|
|
};
|
|
|
|
|
|
-#if 0
|
|
|
-int usbip_sendmsg(struct socket *, struct msghdr *, int);
|
|
|
-int set_sockaddr(struct socket *socket, struct sockaddr_storage *ss);
|
|
|
-int setnodelay(struct socket *);
|
|
|
-int setquickack(struct socket *);
|
|
|
-int setkeepalive(struct socket *socket);
|
|
|
-void setreuse(struct socket *);
|
|
|
-#endif
|
|
|
-
|
|
|
/* usbip_common.c */
|
|
|
void usbip_dump_urb(struct urb *purb);
|
|
|
void usbip_dump_header(struct usbip_header *pdu);
|
|
@@ -336,9 +327,4 @@ static inline int interface_to_devnum(struct usb_interface *interface)
|
|
|
return udev->devnum;
|
|
|
}
|
|
|
|
|
|
-static inline int interface_to_infnum(struct usb_interface *interface)
|
|
|
-{
|
|
|
- return interface->cur_altsetting->desc.bInterfaceNumber;
|
|
|
-}
|
|
|
-
|
|
|
#endif /* __USBIP_COMMON_H */
|