[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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue