drivers: Remove explicit invocations of mmiowb()
[sfrench/cifs-2.6.git] / drivers / net / ethernet / qlogic / qede / qede_ethtool.c
index b4c8949933f161521c1a544ce8c738c35ec381f4..4555c0b161efbda1356a0868117b65d4866d0746 100644 (file)
@@ -1526,14 +1526,6 @@ static int qede_selftest_transmit_traffic(struct qede_dev *edev,
        barrier();
        writel(txq->tx_db.raw, txq->doorbell_addr);
 
-       /* mmiowb is needed to synchronize doorbell writes from more than one
-        * processor. It guarantees that the write arrives to the device before
-        * the queue lock is released and another start_xmit is called (possibly
-        * on another CPU). Without this barrier, the next doorbell can bypass
-        * this doorbell. This is applicable to IA64/Altix systems.
-        */
-       mmiowb();
-
        for (i = 0; i < QEDE_SELFTEST_POLL_COUNT; i++) {
                if (qede_txq_has_work(txq))
                        break;