diff options
| author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2004-02-25 14:36:58 -0500 |
|---|---|---|
| committer | Christoph Hellwig <hch@sgi.com> | 2004-02-25 14:36:58 -0500 |
| commit | 29d55497eb6a4929c81fd4177e8de02411d48b90 (patch) | |
| tree | ebdacc4c145689577c0d571cc4534f78e9d60be5 /include/linux/etherdevice.h | |
| parent | d25843bd76aa793e4076a7f3c64974bdaf341db4 (diff) | |
[PATCH] remove init_{etherdev,netdev} and dev_alloc
These are racy by "design", and all users have been eliminated.
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 416017dc3927..462f7234695f 100644 --- a/include/linux/etherdevice.h +++ b/include/linux/etherdevice.h @@ -38,12 +38,6 @@ extern int eth_header_cache(struct neighbour *neigh, struct hh_cache *hh); extern int eth_header_parse(struct sk_buff *skb, unsigned char *haddr); -extern struct net_device *__init_etherdev(struct net_device *dev, int sizeof_priv); -static inline struct net_device *init_etherdev(struct net_device *dev, - int sizeof_priv) -{ - return __init_etherdev(dev, sizeof_priv); -} extern struct net_device *alloc_etherdev(int sizeof_priv); static inline void eth_copy_and_sum (struct sk_buff *dest, unsigned char *src, int len, int base) |
