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/wireless/wl3501_cs.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/wireless/wl3501_cs.c')
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index ce9230b2f630..c8b5c2271938 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -1011,7 +1011,7 @@ static inline void wl3501_md_ind_interrupt(struct net_device *dev, | |||
1011 | } else { | 1011 | } else { |
1012 | skb->dev = dev; | 1012 | skb->dev = dev; |
1013 | skb_reserve(skb, 2); /* IP headers on 16 bytes boundaries */ | 1013 | skb_reserve(skb, 2); /* IP headers on 16 bytes boundaries */ |
1014 | eth_copy_and_sum(skb, (unsigned char *)&sig.daddr, 12, 0); | 1014 | skb_copy_to_linear_data(skb, (unsigned char *)&sig.daddr, 12); |
1015 | wl3501_receive(this, skb->data, pkt_len); | 1015 | wl3501_receive(this, skb->data, pkt_len); |
1016 | skb_put(skb, pkt_len); | 1016 | skb_put(skb, pkt_len); |
1017 | skb->protocol = eth_type_trans(skb, dev); | 1017 | skb->protocol = eth_type_trans(skb, dev); |