Skip to content

Commit

Permalink
[NET]: #if 0 out net_alloc() for now.
Browse files Browse the repository at this point in the history
We will undo this once it is actually used.

Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
David S. Miller authored and David S. Miller committed Oct 10, 2007
1 parent c48dad7 commit 678aa8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/core/net_namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 678aa8e

Please sign in to comment.