diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 20:06:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 20:06:47 -0500 |
commit | 45ed344cc7b6456856b4ae5e3d81cdb18b98f8ad (patch) | |
tree | ba64db58e1d4d1fb67b3b666279ebb8e4f7fb42a /net/socket.c | |
parent | 99535ac2d4d95dbcad6b8d8a04ea57a891fb533b (diff) | |
parent | bb7e8c5a55c1f5d4192f4b61a84a791796ebf0c3 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index 06fa217f58a9..b38a263853c3 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -993,7 +993,7 @@ static int sock_fasync(int fd, struct file *filp, int on) | |||
993 | 993 | ||
994 | if (on) | 994 | if (on) |
995 | { | 995 | { |
996 | fna=(struct fasync_struct *)kmalloc(sizeof(struct fasync_struct), GFP_KERNEL); | 996 | fna = kmalloc(sizeof(struct fasync_struct), GFP_KERNEL); |
997 | if(fna==NULL) | 997 | if(fna==NULL) |
998 | return -ENOMEM; | 998 | return -ENOMEM; |
999 | } | 999 | } |