From: Wei Yang Date: Tue, 3 Dec 2013 02:04:10 +0000 (+0800) Subject: net/mlx4_core: destroy workqueue when driver fails to register X-Git-Tag: v3.13-rc4~3^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b85ee09aac2f32f24b8db72eb152089b92ace87;p=pandora-kernel.git net/mlx4_core: destroy workqueue when driver fails to register When driver registration fails, we need to clean up the resources allocated before. mlx4_core missed destroying the workqueue allocated. This patch destroys the workqueue when registration fails. Signed-off-by: Wei Yang Signed-off-by: David S. Miller --- Reading git-diff-tree failed