Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}