|
@@ -1171,7 +1171,7 @@ static int tulip_poll(struct nic *nic, int retrieve)
|
1171
|
1171
|
if (rx_ring[tp->cur_rx].status & 0x00008000) {
|
1172
|
1172
|
/* return the descriptor and buffer to receive ring */
|
1173
|
1173
|
rx_ring[tp->cur_rx].status = 0x80000000;
|
1174
|
|
- tp->cur_rx = (++tp->cur_rx) % RX_RING_SIZE;
|
|
1174
|
+ tp->cur_rx = (tp->cur_rx + 1) % RX_RING_SIZE;
|
1175
|
1175
|
return 0;
|
1176
|
1176
|
}
|
1177
|
1177
|
|
|
@@ -1180,7 +1180,7 @@ static int tulip_poll(struct nic *nic, int retrieve)
|
1180
|
1180
|
|
1181
|
1181
|
/* return the descriptor and buffer to receive ring */
|
1182
|
1182
|
rx_ring[tp->cur_rx].status = 0x80000000;
|
1183
|
|
- tp->cur_rx = (++tp->cur_rx) % RX_RING_SIZE;
|
|
1183
|
+ tp->cur_rx = (tp->cur_rx + 1) % RX_RING_SIZE;
|
1184
|
1184
|
|
1185
|
1185
|
return 1;
|
1186
|
1186
|
}
|