Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259509
b: refs/heads/master
c: 0a186be
h: refs/heads/master
i:
  259507: 786e299
v: v3
  • Loading branch information
matt mooney authored and Greg Kroah-Hartman committed Jun 7, 2011
1 parent 4e24a2c commit bde4886
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 1109566469f7df817753939227e989c6395a7595
refs/heads/master: 0a186be35963bd9bc4c148554188e927578115b0
8 changes: 2 additions & 6 deletions trunk/drivers/staging/usbip/stub_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,9 @@ static void init_busid_table(void)
{
int i;

for (i = 0; i < MAX_BUSID; i++) {
memset(busid_table[i].name, 0, BUSID_SIZE);
memset(busid_table, 0, sizeof(busid_table));
for (i = 0; i < MAX_BUSID; i++)
busid_table[i].status = STUB_BUSID_OTHER;
busid_table[i].interf_count = 0;
busid_table[i].sdev = NULL;
busid_table[i].shutdown_busid = 0;
}

spin_lock_init(&busid_table_lock);
}
Expand Down

0 comments on commit bde4886

Please sign in to comment.