summaryrefslogtreecommitdiffstats
path: root/net/nonet.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2005-12-22 21:58:55 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-03 22:11:17 +0100
commitcbeb321a64af5437fbde249605b191ff0fdfa21c (patch)
tree15a0c109583ee1aeee00bae7086324be03c63f48 /net/nonet.c
parent[PKTGEN]: Deinitialise static variables. (diff)
downloadlinux-cbeb321a64af5437fbde249605b191ff0fdfa21c.tar.xz
linux-cbeb321a64af5437fbde249605b191ff0fdfa21c.zip
[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.c5
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 @@
#include <linux/init.h>
#include <linux/kernel.h>
-void __init sock_init(void)
-{
- printk(KERN_INFO "Linux NoNET1.0 for Linux 2.6\n");
-}
-
static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
{
return -ENXIO;