Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126750
b: refs/heads/master
c: 88a1e90
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Beregalov authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 8c8ca3f commit 2b65caa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 8cc59061f22370a60764b04c51f4cc5a01270760
refs/heads/master: 88a1e909da60cd3adf159bc337ede09d4ac93e3e
5 changes: 1 addition & 4 deletions trunk/drivers/staging/usbip/stub_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,17 +234,14 @@ static void tweak_special_requests(struct urb *urb)
static int stub_recv_cmd_unlink(struct stub_device *sdev,
struct usbip_header *pdu)
{
struct list_head *listhead = &sdev->priv_init;
struct list_head *ptr;
unsigned long flags;

struct stub_priv *priv;


spin_lock_irqsave(&sdev->priv_lock, flags);

for (ptr = listhead->next; ptr != listhead; ptr = ptr->next) {
priv = list_entry(ptr, struct stub_priv, list);
list_for_each_entry(priv, &sdev->priv_init, list) {
if (priv->seqnum == pdu->u.cmd_unlink.seqnum) {
int ret;

Expand Down

0 comments on commit 2b65caa

Please sign in to comment.