Commit 1e38bb3a authored by David S. Miller's avatar David S. Miller

[NET]: Kill double initialization in sock_alloc_inode.

No need to set ei->socket.flags to zero twice.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment