diff options
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/socket.c b/net/socket.c index 3e8d4e35c08f..57550c3bcabe 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -990,7 +990,6 @@ static int sock_close(struct inode *inode, struct file *filp) | |||
990 | printk(KERN_DEBUG "sock_close: NULL inode\n"); | 990 | printk(KERN_DEBUG "sock_close: NULL inode\n"); |
991 | return 0; | 991 | return 0; |
992 | } | 992 | } |
993 | sock_fasync(-1, filp, 0); | ||
994 | sock_release(SOCKET_I(inode)); | 993 | sock_release(SOCKET_I(inode)); |
995 | return 0; | 994 | return 0; |
996 | } | 995 | } |
@@ -1142,7 +1141,7 @@ static int __sock_create(struct net *net, int family, int type, int protocol, | |||
1142 | 1141 | ||
1143 | sock->type = type; | 1142 | sock->type = type; |
1144 | 1143 | ||
1145 | #if defined(CONFIG_KMOD) | 1144 | #ifdef CONFIG_MODULES |
1146 | /* Attempt to load a protocol module if the find failed. | 1145 | /* Attempt to load a protocol module if the find failed. |
1147 | * | 1146 | * |
1148 | * 12/09/1996 Marcin: But! this makes REALLY only sense, if the user | 1147 | * 12/09/1996 Marcin: But! this makes REALLY only sense, if the user |