|
@@ -319,11 +319,7 @@ static void atl1e_cal_ring_size(struct atl1e_adapter *adapter, u32 *ring_size)
|
319
|
319
|
|
320
|
320
|
static void atl1e_init_ring_resources(struct atl1e_adapter *adapter)
|
321
|
321
|
{
|
322
|
|
- struct atl1e_tx_ring *tx_ring = NULL;
|
323
|
|
- struct atl1e_rx_ring *rx_ring = NULL;
|
324
|
|
-
|
325
|
|
- tx_ring = &adapter->tx_ring;
|
326
|
|
- rx_ring = &adapter->rx_ring;
|
|
322
|
+ struct atl1e_rx_ring *rx_ring = &adapter->rx_ring;
|
327
|
323
|
|
328
|
324
|
rx_ring->real_page_size = adapter->rx_ring.page_size
|
329
|
325
|
+ MAX_FRAME_SIZE
|