]> err.no Git - linux-2.6/commitdiff
[NET]: #if 0 out net_alloc() for now.
authorDavid S. Miller <davem@kimchee.(none)>
Wed, 12 Sep 2007 12:01:08 +0000 (14:01 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:14 +0000 (16:49 -0700)
We will undo this once it is actually used.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net_namespace.c

index f259a9b6fdc1e03e83ce29931a720cd29b80141e..1fc513c4c79e8be343ebe6ec5dadfaf3baa2b4b1 100644 (file)
@@ -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)
 {