diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-04-21 18:17:12 -0400 |
---|---|---|
committer | Jesper Juhl <juhl@hera.kernel.org> | 2008-04-21 18:17:12 -0400 |
commit | 5309fbcc475084e6c1566084f770cef927937b7b (patch) | |
tree | b8f2721bb67225a4c61af75fdf7acb9927e0d0ad /net/core/sock.c | |
parent | f5264481c8049673e2cc8c7aca410931f571ba2d (diff) |
Remove documentation of non-existent sk_alloc arg
As you can see, there's no zero_it arg (in fact code always uses __GFP_ZERO).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 54c836a2216b..5ac052693554 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -942,7 +942,6 @@ static void sk_prot_free(struct proto *prot, struct sock *sk) | |||
942 | * @family: protocol family | 942 | * @family: protocol family |
943 | * @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc) | 943 | * @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc) |
944 | * @prot: struct proto associated with this new sock instance | 944 | * @prot: struct proto associated with this new sock instance |
945 | * @zero_it: if we should zero the newly allocated sock | ||
946 | */ | 945 | */ |
947 | struct sock *sk_alloc(struct net *net, int family, gfp_t priority, | 946 | struct sock *sk_alloc(struct net *net, int family, gfp_t priority, |
948 | struct proto *prot) | 947 | struct proto *prot) |