summaryrefslogtreecommitdiffstats
path: root/drivers/net/netconsole.c
diff options
context:
space:
mode:
authorMatt Mackall <mpm@selenic.com>2006-06-05 15:04:37 -0700
committerDavid S. Miller <davem@davemloft.net>2006-06-05 15:04:37 -0700
commit92cd6eeea62e235fcb6634d87d1572c3da59f088 (patch)
treead00e5623d0e057e47d5898aa861b8a528bc6398 /drivers/net/netconsole.c
parentf291196979ca80cdef199ca2b55e2758e8c23a0d (diff)
downloadlinux-92cd6eeea62e235fcb6634d87d1572c3da59f088.tar.gz
linux-92cd6eeea62e235fcb6634d87d1572c3da59f088.tar.bz2
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 'drivers/net/netconsole.c')
-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))