diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-05-13 01:41:58 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-13 01:41:58 -0400 |
commit | 7d2e3cb7000b883a8e489485ac249be572fe17b1 (patch) | |
tree | 91bb398cc72e37e5a515b39ca5ade0ac53972b6c /drivers/net/s2io.c | |
parent | 3f8cb098859bbea29d7b3765a3102e4a6bf81b85 (diff) | |
download | linux-7d2e3cb7000b883a8e489485ac249be572fe17b1.tar.gz linux-7d2e3cb7000b883a8e489485ac249be572fe17b1.tar.bz2 linux-7d2e3cb7000b883a8e489485ac249be572fe17b1.zip |
[netdrvr] Trim trailing whitespace for several drivers
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
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 523478ebfd69..75bde6475832 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c @@ -2547,7 +2547,7 @@ static int fill_rx_buffers(struct ring_info *ring) if (block_no) rxd_index += (block_no * ring->rxd_count); - if ((block_no == block_no1) && + if ((block_no == block_no1) && (off == ring->rx_curr_get_info.offset) && (rxdp->Host_Control)) { DBG_PRINT(INTR_DBG, "%s: Get and Put", @@ -2593,7 +2593,7 @@ static int fill_rx_buffers(struct ring_info *ring) first_rxdp->Control_1 |= RXD_OWN_XENA; } stats->mem_alloc_fail_cnt++; - + return -ENOMEM ; } stats->mem_allocated += skb->truesize; |