]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[NET]: Kill double initialization in sock_alloc_inode.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 10 Aug 2006 07:22:41 +0000 (00:22 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:54:22 +0000 (14:54 -0700)
No need to set ei->socket.flags to zero twice.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c

index 4147fe4bf41d12adeb0a08eeb1a2ee39fdc7203f..d6f27ed9ba6c42582710b24506fb345c7189e88f 100644 (file)
@@ -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;
 }