diff options
| author | Akinobu Mita <[email protected]> | 2007-05-23 13:58:05 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-23 20:14:14 -0700 |
| commit | e578e9a1cc8a5983d87126d5877e305d3189f1b9 (patch) | |
| tree | f4e2903bc010ac88a392dd714cb9986cbfaa4c12 /include/linux/debugobjects.h | |
| parent | b3762bfc8d046342db664d855f8f875e8a4c2ca1 (diff) | |
i2o: destroy event queue only when drv->event is set
i2o_driver_register() initalizes event queue for driver only when
drv->event is set. So similarly the event queue should be destroyed only
when drv->event is set in the error path. Otherwise destroy_workqueue()
will called with NULL.
Cc: Markus Lidel <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions