mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-11 17:11:19 +00: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
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.ops = NULL;
|
||||||
ei->socket.sk = NULL;
|
ei->socket.sk = NULL;
|
||||||
ei->socket.file = NULL;
|
ei->socket.file = NULL;
|
||||||
ei->socket.flags = 0;
|
|
||||||
|
|
||||||
return &ei->vfs_inode;
|
return &ei->vfs_inode;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue