diff options
author | David S. Miller <davem@davemloft.net> | 2007-06-10 20:55:04 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-08 22:16:43 -0400 |
commit | 278667ba186a23770b0dd23ccd26de56a8cc4ec2 (patch) | |
tree | 26bd336cb5354b3340fe3a0d00fbcf7e1decf154 /drivers/net/r8169.c | |
parent | 4ae47c2ddc55e3c571bb55fca921cfe9b02a685f (diff) |
r8169: 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>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
Diffstat (limited to 'drivers/net/r8169.c')
-rw-r--r-- | drivers/net/r8169.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 1f7fb541ec54..e4827a414689 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -2495,7 +2495,7 @@ static inline int rtl8169_try_rx_copy(struct sk_buff **sk_buff, int pkt_size, | |||
2495 | skb = dev_alloc_skb(pkt_size + align); | 2495 | skb = dev_alloc_skb(pkt_size + align); |
2496 | if (skb) { | 2496 | if (skb) { |
2497 | skb_reserve(skb, (align - 1) & (unsigned long)skb->data); | 2497 | skb_reserve(skb, (align - 1) & (unsigned long)skb->data); |
2498 | eth_copy_and_sum(skb, sk_buff[0]->data, pkt_size, 0); | 2498 | skb_copy_from_linear_data(*sk_buff, skb->data, pkt_size); |
2499 | *sk_buff = skb; | 2499 | *sk_buff = skb; |
2500 | rtl8169_mark_to_asic(desc, rx_buf_sz); | 2500 | rtl8169_mark_to_asic(desc, rx_buf_sz); |
2501 | ret = 0; | 2501 | ret = 0; |