From 29d55497eb6a4929c81fd4177e8de02411d48b90 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Wed, 25 Feb 2004 14:36:58 -0500 Subject: [PATCH] remove init_{etherdev,netdev} and dev_alloc These are racy by "design", and all users have been eliminated. --- include/linux/etherdevice.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/linux/etherdevice.h') 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) -- cgit v1.2.3