aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/mv643xx_eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index 9997081c6dae..21d0137b6004 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -1098,7 +1098,7 @@ static void eth_tx_fill_frag_descs(struct mv643xx_private *mp,
1098 ETH_TX_ENABLE_INTERRUPT; 1098 ETH_TX_ENABLE_INTERRUPT;
1099 mp->tx_skb[tx_index] = skb; 1099 mp->tx_skb[tx_index] = skb;
1100 } else 1100 } else
1101 mp->tx_skb[tx_index] = 0; 1101 mp->tx_skb[tx_index] = NULL;
1102 1102
1103 desc = &mp->p_tx_desc_area[tx_index]; 1103 desc = &mp->p_tx_desc_area[tx_index];
1104 desc->l4i_chk = 0; 1104 desc->l4i_chk = 0;
@@ -1134,7 +1134,7 @@ static void eth_tx_submit_descs_for_skb(struct mv643xx_private *mp,
1134 eth_tx_fill_frag_descs(mp, skb); 1134 eth_tx_fill_frag_descs(mp, skb);
1135 1135
1136 length = skb_headlen(skb); 1136 length = skb_headlen(skb);
1137 mp->tx_skb[tx_index] = 0; 1137 mp->tx_skb[tx_index] = NULL;
1138 } else { 1138 } else {
1139 cmd_sts |= ETH_ZERO_PADDING | 1139 cmd_sts |= ETH_ZERO_PADDING |
1140 ETH_TX_LAST_DESC | 1140 ETH_TX_LAST_DESC |