Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161929
b: refs/heads/master
c: b4b3d7b
h: refs/heads/master
i:
  161927: d0bd5b0
v: v3
  • Loading branch information
Wolfram Sang authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent d7a7c59 commit 8e9e6fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: d598de02187e4de89595537f69dffe8334f9a066
refs/heads/master: b4b3d7bbe1e1d924dc5f3b48b6c06977aee2d494
3 changes: 1 addition & 2 deletions trunk/drivers/pcmcia/ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ pcmcia_store_new_id(struct device_driver *driver, const char *buf, size_t count)
if (!dynid)
return -ENOMEM;

INIT_LIST_HEAD(&dynid->node);
dynid->id.match_flags = match_flags;
dynid->id.manf_id = manf_id;
dynid->id.card_id = card_id;
Expand All @@ -246,7 +245,7 @@ pcmcia_store_new_id(struct device_driver *driver, const char *buf, size_t count)
memcpy(dynid->id.prod_id_hash, prod_id_hash, sizeof(__u32) * 4);

spin_lock(&pdrv->dynids.lock);
list_add_tail(&pdrv->dynids.list, &dynid->node);
list_add_tail(&dynid->node, &pdrv->dynids.list);
spin_unlock(&pdrv->dynids.lock);

if (get_driver(&pdrv->drv)) {
Expand Down

0 comments on commit 8e9e6fb

Please sign in to comment.