diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2013-09-15 17:53:00 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-16 06:28:58 +0400 |
commit | 73a695f8572e4c46a2aecdbb63f26f36a43e6873 (patch) | |
tree | 1a71cbd119674a5c561fb37879df4debadd26079 /kernel | |
parent | d6d6d1bc44362112e10a48d434e5b3c716152003 (diff) | |
download | linux-73a695f8572e4c46a2aecdbb63f26f36a43e6873.tar.xz |
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 <weiyang@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions