]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/net/ethernet/intel/e1000e/netdev.c
drivers: Remove explicit invocations of mmiowb()
[linux.git] / drivers / net / ethernet / intel / e1000e / netdev.c
index 7acc61e4f6456ea86269a47d0a6da6533dbcb3b6..022c3ac0e40f2b0bcbe5c7625ce173b1e82272a5 100644 (file)
@@ -3816,7 +3816,6 @@ static void e1000_flush_tx_ring(struct e1000_adapter *adapter)
        if (tx_ring->next_to_use == tx_ring->count)
                tx_ring->next_to_use = 0;
        ew32(TDT(0), tx_ring->next_to_use);
-       mmiowb();
        usleep_range(200, 250);
 }
 
@@ -5904,12 +5903,6 @@ static netdev_tx_t e1000_xmit_frame(struct sk_buff *skb,
                                                     tx_ring->next_to_use);
                        else
                                writel(tx_ring->next_to_use, tx_ring->tail);
-
-                       /* we need this if more than one processor can write
-                        * to our tail at a time, it synchronizes IO on
-                        *IA64/Altix systems
-                        */
-                       mmiowb();
                }
        } else {
                dev_kfree_skb_any(skb);