Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56905
b: refs/heads/master
c: e578e9a
h: refs/heads/master
i:
  56903: d26369b
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed May 24, 2007
1 parent 256b1d5 commit 5ddd387
Show file tree
Hide file tree
Showing 2 changed files with 7 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: b3762bfc8d046342db664d855f8f875e8a4c2ca1
refs/heads/master: e578e9a1cc8a5983d87126d5877e305d3189f1b9
8 changes: 6 additions & 2 deletions trunk/drivers/message/i2o/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,12 @@ int i2o_driver_register(struct i2o_driver *drv)
}

rc = driver_register(&drv->driver);
if (rc)
destroy_workqueue(drv->event_queue);
if (rc) {
if (drv->event) {
destroy_workqueue(drv->event_queue);
drv->event_queue = NULL;
}
}

return rc;
};
Expand Down

0 comments on commit 5ddd387

Please sign in to comment.