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 /include/linux/etherdevice.h | |
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 'include/linux/etherdevice.h')
-rw-r--r-- | include/linux/etherdevice.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h index 071c67abed86..f48eb89efd0f 100644 --- a/include/linux/etherdevice.h +++ b/include/linux/etherdevice.h | |||
@@ -40,12 +40,6 @@ extern int eth_header_cache(struct neighbour *neigh, | |||
40 | struct hh_cache *hh); | 40 | struct hh_cache *hh); |
41 | 41 | ||
42 | extern struct net_device *alloc_etherdev(int sizeof_priv); | 42 | extern struct net_device *alloc_etherdev(int sizeof_priv); |
43 | static inline void eth_copy_and_sum (struct sk_buff *dest, | ||
44 | const unsigned char *src, | ||
45 | int len, int base) | ||
46 | { | ||
47 | memcpy (dest->data, src, len); | ||
48 | } | ||
49 | 43 | ||
50 | /** | 44 | /** |
51 | * is_zero_ether_addr - Determine if give Ethernet address is all zeros. | 45 | * is_zero_ether_addr - Determine if give Ethernet address is all zeros. |