From: David S. Miller Date: Wed, 12 Sep 2007 12:01:08 +0000 (+0200) Subject: [NET]: #if 0 out net_alloc() for now. X-Git-Tag: v2.6.24-rc1~1454^2~689 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=678aa8e4eb1e5d78dfdb70934932c9c90e315f62;p=linux-2.6 [NET]: #if 0 out net_alloc() for now. We will undo this once it is actually used. Signed-off-by: David S. Miller --- diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index f259a9b6fd..1fc513c4c7 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c @@ -32,10 +32,12 @@ void net_unlock(void) mutex_unlock(&net_list_mutex); } +#if 0 static struct net *net_alloc(void) { return kmem_cache_alloc(net_cachep, GFP_KERNEL); } +#endif static void net_free(struct net *net) {