提交 1e38bb3a 编写于 作者: D David S. Miller

[NET]: Kill double initialization in sock_alloc_inode.

No need to set ei->socket.flags to zero twice.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 bf0d5249
......@@ -254,7 +254,6 @@ static struct inode *sock_alloc_inode(struct super_block *sb)
ei->socket.ops = NULL;
ei->socket.sk = NULL;
ei->socket.file = NULL;
ei->socket.flags = 0;
return &ei->vfs_inode;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册