From: Michael S. Tsirkin Date: Thu, 25 May 2006 21:51:33 +0000 (-0700) Subject: IB/cm: remove unneeded flush_workqueue X-Git-Tag: v2.6.18-rc1~1110^2~24 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=856c256f883f027a14b546164294b4a86fea81a4;p=linux-2.6 IB/cm: remove unneeded flush_workqueue destroy_workqueue() already does flush_workqueue(). Signed-off-by: Michael S. Tsirkin Signed-off-by: Sean Hefty --- diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c index 490fd03766..1c7463b7c5 100644 --- a/drivers/infiniband/core/cm.c +++ b/drivers/infiniband/core/cm.c @@ -3358,7 +3358,6 @@ error: static void __exit ib_cm_cleanup(void) { - flush_workqueue(cm.wq); destroy_workqueue(cm.wq); ib_unregister_client(&cm_client); idr_destroy(&cm.local_id_table);