Commit a9c627a8 authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka
Browse files

net/drivers: macb: do not check for initial checksum value


Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent 4e52f1d0
......@@ -725,7 +725,6 @@ static int gem_rx(struct macb *bp, int budget, nanosecs_abs_t *time_stamp)
bp->rx_buffer_size, DMA_FROM_DEVICE);
skb->protocol = rt_eth_type_trans(skb, bp->dev);
bp->stats.rx_bytes += skb->len;
......@@ -792,7 +791,6 @@ static int macb_rx_frame(struct macb *bp, unsigned int first_frag,
offset = 0;
len += NET_IP_ALIGN;
skb->time_stamp = *time_stamp;
rtskb_put(skb, len);
for (frag = first_frag; ; frag++) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment