The fbr_lookup struct variables buffer1 and buffer2 are only assigned
and never used, so remove them.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
*/
struct fbr_lookup {
void *virt[MAX_DESC_PER_RING_RX];
- void *buffer1[MAX_DESC_PER_RING_RX];
- void *buffer2[MAX_DESC_PER_RING_RX];
u32 bus_high[MAX_DESC_PER_RING_RX];
u32 bus_low[MAX_DESC_PER_RING_RX];
void *ring_virtaddr;
lower_32_bits(fbr_tmp_physaddr);
fbr_tmp_physaddr += rx_ring->fbr[id]->buffsize;
-
- rx_ring->fbr[id]->buffer1[index] =
- rx_ring->fbr[id]->virt[index];
- rx_ring->fbr[id]->buffer2[index] =
- rx_ring->fbr[id]->virt[index] - 4;
}
}
}