Commit 99143a69 authored by David Dillow's avatar David Dillow Committed by Jeff Garzik

[PATCH] net/typhoon.c: use previously-unused function

A response to Adrian Bunk's "remove unused function" cleanup patch.
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 26e506c0
......@@ -1687,8 +1687,7 @@ typhoon_rx(struct typhoon *tp, struct basic_ring *rxRing, volatile u32 * ready,
skb = rxb->skb;
dma_addr = rxb->dma_addr;
rxaddr += sizeof(struct rx_desc);
rxaddr %= RX_ENTRIES * sizeof(struct rx_desc);
typhoon_inc_rx_index(&rxaddr, 1);
if(rx->flags & TYPHOON_RX_ERROR) {
typhoon_recycle_rx_skb(tp, idx);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment