Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281426
b: refs/heads/master
c: 75fe8c8
h: refs/heads/master
v: v3
  • Loading branch information
Bart Westgeest authored and Greg Kroah-Hartman committed Dec 22, 2011
1 parent c3bbade commit 939db3b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5a08c5267e45fe936452051a8c126e8418984eb7
refs/heads/master: 75fe8c8b906367ed3b3a5d87b4db42974e0dcf97
5 changes: 0 additions & 5 deletions trunk/drivers/staging/usbip/stub_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,6 @@ static ssize_t store_sockfd(struct device *dev, struct device_attribute *attr,
spin_unlock(&sdev->ud.lock);
return -EINVAL;
}
#if 0
setnodelay(socket);
setkeepalive(socket);
setreuse(socket);
#endif
sdev->ud.tcp_socket = socket;

spin_unlock(&sdev->ud.lock);
Expand Down
14 changes: 0 additions & 14 deletions trunk/drivers/staging/usbip/usbip_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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 */

0 comments on commit 939db3b

Please sign in to comment.