aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-08-10 03:22:41 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 17:54:22 -0400
commit1e38bb3a38d08129d08c904b10ea3ba08e22d297 (patch)
tree9397a07c4ba054be8a343694597a622b16fcdaf9 /net/socket.c
parentbf0d52492d82ad70684e17c8a46942c13d0e140e (diff)
[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>
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 4147fe4bf41d..d6f27ed9ba6c 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -254,7 +254,6 @@ static struct inode *sock_alloc_inode(struct super_block *sb)
254 ei->socket.ops = NULL; 254 ei->socket.ops = NULL;
255 ei->socket.sk = NULL; 255 ei->socket.sk = NULL;
256 ei->socket.file = NULL; 256 ei->socket.file = NULL;
257 ei->socket.flags = 0;
258 257
259 return &ei->vfs_inode; 258 return &ei->vfs_inode;
260} 259}