diff options
author | David S. Miller <davem@davemloft.net> | 2007-07-11 01:08:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-11 01:08:12 -0400 |
commit | 8c7b7faaa630fef7f68d8728cee1cce398cc9697 (patch) | |
tree | 844c5c5aad361b7c1e24f8d0b8f3195c4a4ad816 /drivers/net/sun3lance.c | |
parent | a7ab4b501f9b8a9dc4d5cee542db67b6ccd1088b (diff) |
[NET]: Kill eth_copy_and_sum().
It hasn't "summed" anything in over 7 years, and it's
just a straight mempcy ala skb_copy_to_linear_data()
so just get rid of it.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sun3lance.c')
-rw-r--r-- | drivers/net/sun3lance.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/sun3lance.c b/drivers/net/sun3lance.c index 791e081fdc15..f1548c033327 100644 --- a/drivers/net/sun3lance.c +++ b/drivers/net/sun3lance.c | |||
@@ -853,10 +853,9 @@ static int lance_rx( struct net_device *dev ) | |||
853 | 853 | ||
854 | skb_reserve( skb, 2 ); /* 16 byte align */ | 854 | skb_reserve( skb, 2 ); /* 16 byte align */ |
855 | skb_put( skb, pkt_len ); /* Make room */ | 855 | skb_put( skb, pkt_len ); /* Make room */ |
856 | // skb_copy_to_linear_data(skb, PKTBUF_ADDR(head), pkt_len); | 856 | skb_copy_to_linear_data(skb, |
857 | eth_copy_and_sum(skb, | ||
858 | PKTBUF_ADDR(head), | 857 | PKTBUF_ADDR(head), |
859 | pkt_len, 0); | 858 | pkt_len); |
860 | 859 | ||
861 | skb->protocol = eth_type_trans( skb, dev ); | 860 | skb->protocol = eth_type_trans( skb, dev ); |
862 | netif_rx( skb ); | 861 | netif_rx( skb ); |