From: Wei Yang Date: Sun, 15 Sep 2013 13:53:00 +0000 (+0800) Subject: cxgb4: remove workqueue when driver registration fails X-Git-Tag: v3.12-rc2~14^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73a695f8572e4c46a2aecdbb63f26f36a43e6873;p=pandora-kernel.git cxgb4: remove workqueue when driver registration fails When driver registration fails, we need to clean up the resources allocated before. cxgb4 missed to destroy the workqueue allocated at the very beginning. This patch destroies the workqueue when registration fails. Signed-off-by: Wei Yang Signed-off-by: David S. Miller --- Reading git-diff-tree failed