diff options
| author | David S. Miller <davem@sunset.davemloft.net> | 2005-12-22 15:58:55 -0500 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 16:11:17 -0500 |
| commit | cbeb321a64af5437fbde249605b191ff0fdfa21c (patch) | |
| tree | 15a0c109583ee1aeee00bae7086324be03c63f48 /net/nonet.c | |
| parent | f34fbb971368c20f757f8758833a534590b16518 (diff) | |
[NET]: Fix sock_init() return value.
It needs to return zero now that it is an initcall.
Also, net/nonet.c no longer needs a dummy sock_init().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nonet.c')
| -rw-r--r-- | net/nonet.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/nonet.c b/net/nonet.c index e5241dceaa57..1230f0ae832e 100644 --- a/net/nonet.c +++ b/net/nonet.c | |||
| @@ -14,11 +14,6 @@ | |||
| 14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
| 15 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
| 16 | 16 | ||
| 17 | void __init sock_init(void) | ||
| 18 | { | ||
| 19 | printk(KERN_INFO "Linux NoNET1.0 for Linux 2.6\n"); | ||
| 20 | } | ||
| 21 | |||
| 22 | static int sock_no_open(struct inode *irrelevant, struct file *dontcare) | 17 | static int sock_no_open(struct inode *irrelevant, struct file *dontcare) |
| 23 | { | 18 | { |
| 24 | return -ENXIO; | 19 | return -ENXIO; |
