]> err.no Git - linux-2.6/commitdiff
Remove documentation of non-existent sk_alloc arg
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 21 Apr 2008 22:17:12 +0000 (22:17 +0000)
committerJesper Juhl <juhl@hera.kernel.org>
Mon, 21 Apr 2008 22:17:12 +0000 (22:17 +0000)
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>
net/core/sock.c

index 54c836a2216b4dbbf9a5668c3ec29de71d21cc51..5ac05269355474dafda721357934be004a52ac3d 100644 (file)
@@ -942,7 +942,6 @@ static void sk_prot_free(struct proto *prot, struct sock *sk)
  *     @family: protocol family
  *     @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc)
  *     @prot: struct proto associated with this new sock instance
- *     @zero_it: if we should zero the newly allocated sock
  */
 struct sock *sk_alloc(struct net *net, int family, gfp_t priority,
                      struct proto *prot)