提交 678aa8e4 编写于 作者: D David S. Miller 提交者: David S. Miller

[NET]: #if 0 out net_alloc() for now.

We will undo this once it is actually used.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c48dad7e
...@@ -32,10 +32,12 @@ void net_unlock(void) ...@@ -32,10 +32,12 @@ void net_unlock(void)
mutex_unlock(&net_list_mutex); mutex_unlock(&net_list_mutex);
} }
#if 0
static struct net *net_alloc(void) static struct net *net_alloc(void)
{ {
return kmem_cache_alloc(net_cachep, GFP_KERNEL); return kmem_cache_alloc(net_cachep, GFP_KERNEL);
} }
#endif
static void net_free(struct net *net) static void net_free(struct net *net)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册