projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf0d524
)
[NET]: Kill double initialization in sock_alloc_inode.
author
David S. Miller
<davem@sunset.davemloft.net>
Thu, 10 Aug 2006 07:22:41 +0000
(
00:22
-0700)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/net/socket.c
b/net/socket.c
index 4147fe4bf41d12adeb0a08eeb1a2ee39fdc7203f..d6f27ed9ba6c42582710b24506fb345c7189e88f 100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-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;
}