[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>
This commit is contained in:
parent
c48dad7ecd
commit
678aa8e4eb
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue