Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363887
b: refs/heads/master
c: 521e1e7
h: refs/heads/master
i:
  363885: 6becb51
  363883: b69156e
  363879: 8686411
  363871: 9f2722c
v: v3
  • Loading branch information
Kurt Kanzenbach authored and Greg Kroah-Hartman committed Apr 5, 2013
1 parent 4c2a701 commit 7a5c0df
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 2183b77ece517fe4a17cae59d227d341b9d271c8
refs/heads/master: 521e1e7cc9c641caa892d420034fcfe3f2ad6ae5
8 changes: 4 additions & 4 deletions trunk/drivers/staging/usbip/stub_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ static spinlock_t busid_table_lock;

static void init_busid_table(void)
{
int i;

/*
* This also sets the bus_table[i].status to
* STUB_BUSID_OTHER, which is 0.
*/
memset(busid_table, 0, sizeof(busid_table));
for (i = 0; i < MAX_BUSID; i++)
busid_table[i].status = STUB_BUSID_OTHER;

spin_lock_init(&busid_table_lock);
}
Expand Down

0 comments on commit 7a5c0df

Please sign in to comment.