Akinobu Mita e578e9a1cc 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 <Markus.Lidel@shadowconnect.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-23 20:14:14 -07:00
..
2007-05-21 20:26:38 -04:00
2007-05-21 09:18:19 -07:00
2007-05-23 20:14:13 -07:00
2007-05-15 18:56:37 -07:00
2007-05-22 19:49:16 +02:00
2007-05-24 02:42:39 +02:00
2007-05-21 09:18:19 -07:00
2007-05-21 09:18:19 -07:00
2007-05-11 08:29:37 -07:00
2007-05-17 05:23:04 -07:00
2007-05-21 09:18:19 -07:00
2007-05-16 21:19:15 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 13:37:51 +10:00
2007-05-17 05:23:05 -07:00
2007-05-21 09:18:19 -07:00
2007-05-23 20:14:13 -07:00