summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc-ultra32.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/smc-ultra32.c')
-rw-r--r--drivers/net/smc-ultra32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/smc-ultra32.c b/drivers/net/smc-ultra32.c
index 2c5319c62fa5..88a30e56c64c 100644
--- a/drivers/net/smc-ultra32.c
+++ b/drivers/net/smc-ultra32.c
@@ -395,8 +395,7 @@ static void ultra32_block_input(struct net_device *dev,
memcpy_fromio(skb->data + semi_count, ei_status.mem + TX_PAGES * 256, count);
}
} else {
- /* Packet is in one chunk -- we can copy + cksum. */
- eth_io_copy_and_sum(skb, xfer_start, count, 0);
+ memcpy_fromio(skb->data, xfer_start, count);
}
}
OpenPOWER on IntegriCloud