Skip to content

Commit

Permalink
Remove documentation of non-existent sk_alloc arg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rusty Russell authored and Jesper Juhl committed Apr 21, 2008
1 parent f526448 commit 5309fbc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/core/sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5309fbc

Please sign in to comment.