Roland Dreier 1a44cc3778 mlx4_en: Fix cleanup if workqueue create in mlx4_en_add() fails
If creating a workqueue fails, don't jump to the error path where that
same workqueue is destroyed, since destroy_workqueue() can't handle a
NULL pointer.

This was spotted by the Coverity checker (CID 2617).

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-21 01:47:08 -07:00
..
2009-04-13 04:22:04 -04:00
2009-04-07 08:31:03 -07:00
2009-04-05 02:14:15 -04:00
2009-04-08 14:13:04 +02:00
2009-04-08 00:00:33 -07:00
2009-03-30 21:55:25 +10:30
2009-04-09 00:27:17 +01:00
2009-04-05 00:32:25 +02:00
2009-04-01 08:59:23 -07:00
2009-04-02 00:40:41 +00:00
2009-04-02 11:19:57 +09:00
2009-03-27 20:13:20 -04:00
2009-04-05 00:32:22 +02:00