summaryrefslogtreecommitdiffstats
path: root/drivers/net/netconsole.c
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2006-06-06 00:04:37 +0200
committerDavid S. Miller <davem@davemloft.net>2006-06-06 00:04:37 +0200
commit92cd6eeea62e235fcb6634d87d1572c3da59f088 (patch)
treead00e5623d0e057e47d5898aa861b8a528bc6398 /drivers/net/netconsole.c
parent[TCP]: Avoid skb_pull if possible when trimming head (diff)
downloadlinux-92cd6eeea62e235fcb6634d87d1572c3da59f088.tar.xz
linux-92cd6eeea62e235fcb6634d87d1572c3da59f088.zip
[NETCONSOLE]: Clean up initcall warning.
From: Matt Mackall <mpm@selenic.com> netconsole is being wrong here. If it wasn't enabled there's no error. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/netconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c
index 66e74f740261..bf58db29e2ed 100644
--- a/drivers/net/netconsole.c
+++ b/drivers/net/netconsole.c
@@ -107,7 +107,7 @@ static int init_netconsole(void)
if(!configured) {
printk("netconsole: not configured, aborting\n");
- return -EINVAL;
+ return 0;
}
if(netpoll_setup(&np))