mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
[NET]: Kill double initialization in sock_alloc_inode.
No need to set ei->socket.flags to zero twice. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bf0d52492d
commit
1e38bb3a38
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user