From 82e2a28e0c931426a01d4d1f6ab12c49e064d17c Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 22 Dec 2005 12:58:55 -0800 Subject: [PATCH] --- yaml --- r: 15567 b: refs/heads/master c: cbeb321a64af5437fbde249605b191ff0fdfa21c h: refs/heads/master i: 15565: 2baf2654b5b188073f7034636256b2fa471bc9e5 15563: 58c126189d445aa0a9a37505435b2679c3eae431 15559: fa7e3a855f63bf254821c84e6929e1537726dc1c 15551: e7d900b2103772023ce3f24b16426f76aa1b799a v: v3 --- [refs] | 2 +- trunk/net/nonet.c | 5 ----- trunk/net/socket.c | 2 ++ 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index ba93a8d555ee..fe22ae5ce0d0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f34fbb971368c20f757f8758833a534590b16518 +refs/heads/master: cbeb321a64af5437fbde249605b191ff0fdfa21c diff --git a/trunk/net/nonet.c b/trunk/net/nonet.c index e5241dceaa57..1230f0ae832e 100644 --- a/trunk/net/nonet.c +++ b/trunk/net/nonet.c @@ -14,11 +14,6 @@ #include #include -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; diff --git a/trunk/net/socket.c b/trunk/net/socket.c index 98be7ef3c086..f40957adc7c7 100644 --- a/trunk/net/socket.c +++ b/trunk/net/socket.c @@ -2063,6 +2063,8 @@ static int __init sock_init(void) #ifdef CONFIG_NETFILTER netfilter_init(); #endif + + return 0; } core_initcall(sock_init); /* early initcall */