diff options
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r-- | drivers/net/s2io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index a20693e09ae8..326c94122b26 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -2566,7 +2566,7 @@ static int fill_rx_buffers(struct ring_info *ring) | |||
2566 | if (block_no) | 2566 | if (block_no) |
2567 | rxd_index += (block_no * ring->rxd_count); | 2567 | rxd_index += (block_no * ring->rxd_count); |
2568 | 2568 | ||
2569 | if ((block_no == block_no1) && | 2569 | if ((block_no == block_no1) && |
2570 | (off == ring->rx_curr_get_info.offset) && | 2570 | (off == ring->rx_curr_get_info.offset) && |
2571 | (rxdp->Host_Control)) { | 2571 | (rxdp->Host_Control)) { |
2572 | DBG_PRINT(INTR_DBG, "%s: Get and Put", | 2572 | DBG_PRINT(INTR_DBG, "%s: Get and Put", |
@@ -2612,7 +2612,7 @@ static int fill_rx_buffers(struct ring_info *ring) | |||
2612 | first_rxdp->Control_1 |= RXD_OWN_XENA; | 2612 | first_rxdp->Control_1 |= RXD_OWN_XENA; |
2613 | } | 2613 | } |
2614 | stats->mem_alloc_fail_cnt++; | 2614 | stats->mem_alloc_fail_cnt++; |
2615 | 2615 | ||
2616 | return -ENOMEM ; | 2616 | return -ENOMEM ; |
2617 | } | 2617 | } |
2618 | stats->mem_allocated += skb->truesize; | 2618 | stats->mem_allocated += skb->truesize; |