Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43427
b: refs/heads/master
c: 5c37dcb
h: refs/heads/master
i:
  43425: 33e7c58
  43423: 2320b56
v: v3
  • Loading branch information
Stefan Richter committed Dec 7, 2006
1 parent 2fe37c7 commit b3675a4
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: b63d4fe95f29b6cadffcee8cdabd8435e8560cde
refs/heads/master: 5c37dcbe138ed3239c5e8b6c2626ce773a7cea2e
5 changes: 1 addition & 4 deletions trunk/drivers/ieee1394/hosts.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,9 @@ struct hpsb_host *hpsb_alloc_host(struct hpsb_host_driver *drv, size_t extra,
h->speed_map = (u8 *)(h->csr.speed_map + 2);

mutex_lock(&host_num_alloc);

while (nodemgr_for_each_host(&hostnum, alloc_hostnum_cb))
hostnum++;

mutex_unlock(&host_num_alloc);
h->id = hostnum;

memcpy(&h->device, &nodemgr_dev_template_host, sizeof(h->device));
Expand All @@ -175,8 +174,6 @@ struct hpsb_host *hpsb_alloc_host(struct hpsb_host_driver *drv, size_t extra,
class_device_register(&h->class_dev);
get_device(&h->device);

mutex_unlock(&host_num_alloc);

return h;
}

Expand Down

0 comments on commit b3675a4

Please sign in to comment.