fcoe: add missing destroy_workqueue() on error in fcoe_init()
authorWei Yongjun <weiyj.lk@gmail.com>
Fri, 29 Jul 2016 15:54:48 +0000 (15:54 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 2 Aug 2016 05:18:05 +0000 (01:18 -0400)
commita561a8ea837182e2ac2c699e64a33b76f29d1668
tree95bcac254aa0330ff2bc609d29d546e65d549ebb
parent22466da5b4b7a82d3e5a9c21c752cae91a21dc91
fcoe: add missing destroy_workqueue() on error in fcoe_init()

Add the missing destroy_workqueue() before return from fcoe_init() in
the fcoe transport register failed error handling case.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe.c