提交 5309fbcc 编写于 作者: R Rusty Russell 提交者: Jesper Juhl

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: NRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: NJesper Juhl <jesper.juhl@gmail.com>
上级 f5264481
...@@ -942,7 +942,6 @@ static void sk_prot_free(struct proto *prot, struct sock *sk) ...@@ -942,7 +942,6 @@ static void sk_prot_free(struct proto *prot, struct sock *sk)
* @family: protocol family * @family: protocol family
* @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc) * @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc)
* @prot: struct proto associated with this new sock instance * @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 sock *sk_alloc(struct net *net, int family, gfp_t priority,
struct proto *prot) struct proto *prot)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册