IB/qib: Don't use schedule_work()
authorMike Marciniszyn <mike.marciniszyn@qlogic.com>
Tue, 8 Nov 2011 18:27:31 +0000 (13:27 -0500)
committerRoland Dreier <roland@purestorage.com>
Tue, 8 Nov 2011 18:37:53 +0000 (10:37 -0800)
It was mistakenly introduced by dde05cbdf8b1 ("IB/qib: Hold links
until tuning data is available").

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib_iba7322.c

index 5bd2162b95dcb8c93051ce7e496b628222764184..8b46b608c02f361be19f89ba745f7e459bfbd05e 100644 (file)
@@ -5241,7 +5241,7 @@ static int qib_7322_ib_updown(struct qib_pportdata *ppd, int ibup, u64 ibcs)
                           off */
                        if (ppd->dd->flags & QIB_HAS_QSFP) {
                                qd->t_insert = get_jiffies_64();
-                               schedule_work(&qd->work);
+                               queue_work(ib_wq, &qd->work);
                        }
                        spin_lock_irqsave(&ppd->sdma_lock, flags);
                        if (__qib_sdma_running(ppd))