diff options
author | David S. Miller <davem@kimchee.(none)> | 2007-09-12 08:01:08 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:14 -0400 |
commit | 678aa8e4eb1e5d78dfdb70934932c9c90e315f62 (patch) | |
tree | fb9e6201ca9d84d2f946c2e87831450246d04c00 /net/core | |
parent | c48dad7ecd84eac92afbe02bd69fca9983a65a56 (diff) |
[NET]: #if 0 out net_alloc() for now.
We will undo this once it is actually used.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/net_namespace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index f259a9b6fdc..1fc513c4c79 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c | |||
@@ -32,10 +32,12 @@ void net_unlock(void) | |||
32 | mutex_unlock(&net_list_mutex); | 32 | mutex_unlock(&net_list_mutex); |
33 | } | 33 | } |
34 | 34 | ||
35 | #if 0 | ||
35 | static struct net *net_alloc(void) | 36 | static struct net *net_alloc(void) |
36 | { | 37 | { |
37 | return kmem_cache_alloc(net_cachep, GFP_KERNEL); | 38 | return kmem_cache_alloc(net_cachep, GFP_KERNEL); |
38 | } | 39 | } |
40 | #endif | ||
39 | 41 | ||
40 | static void net_free(struct net *net) | 42 | static void net_free(struct net *net) |
41 | { | 43 | { |