diff options
Diffstat (limited to 'drivers/net/vxge/vxge-traffic.c')
-rw-r--r-- | drivers/net/vxge/vxge-traffic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/vxge/vxge-traffic.c b/drivers/net/vxge/vxge-traffic.c index f93517055162..ad64ce0afe3f 100644 --- a/drivers/net/vxge/vxge-traffic.c +++ b/drivers/net/vxge/vxge-traffic.c | |||
@@ -1309,7 +1309,7 @@ enum vxge_hw_status vxge_hw_ring_rxd_next_completed( | |||
1309 | 1309 | ||
1310 | vxge_hw_channel_dtr_try_complete(channel, rxdh); | 1310 | vxge_hw_channel_dtr_try_complete(channel, rxdh); |
1311 | 1311 | ||
1312 | rxdp = (struct vxge_hw_ring_rxd_1 *)*rxdh; | 1312 | rxdp = *rxdh; |
1313 | if (rxdp == NULL) { | 1313 | if (rxdp == NULL) { |
1314 | status = VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS; | 1314 | status = VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS; |
1315 | goto exit; | 1315 | goto exit; |
@@ -1565,7 +1565,7 @@ void vxge_hw_fifo_txdl_post(struct __vxge_hw_fifo *fifo, void *txdlh) | |||
1565 | channel = &fifo->channel; | 1565 | channel = &fifo->channel; |
1566 | 1566 | ||
1567 | txdl_priv = __vxge_hw_fifo_txdl_priv(fifo, txdlh); | 1567 | txdl_priv = __vxge_hw_fifo_txdl_priv(fifo, txdlh); |
1568 | txdp_first = (struct vxge_hw_fifo_txd *)txdlh; | 1568 | txdp_first = txdlh; |
1569 | 1569 | ||
1570 | txdp_last = (struct vxge_hw_fifo_txd *)txdlh + (txdl_priv->frags - 1); | 1570 | txdp_last = (struct vxge_hw_fifo_txd *)txdlh + (txdl_priv->frags - 1); |
1571 | txdp_last->control_0 |= | 1571 | txdp_last->control_0 |= |
@@ -1631,7 +1631,7 @@ enum vxge_hw_status vxge_hw_fifo_txdl_next_completed( | |||
1631 | 1631 | ||
1632 | vxge_hw_channel_dtr_try_complete(channel, txdlh); | 1632 | vxge_hw_channel_dtr_try_complete(channel, txdlh); |
1633 | 1633 | ||
1634 | txdp = (struct vxge_hw_fifo_txd *)*txdlh; | 1634 | txdp = *txdlh; |
1635 | if (txdp == NULL) { | 1635 | if (txdp == NULL) { |
1636 | status = VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS; | 1636 | status = VXGE_HW_INF_NO_MORE_COMPLETED_DESCRIPTORS; |
1637 | goto exit; | 1637 | goto exit; |