diff options
author | Matt Mackall <mpm@selenic.com> | 2006-06-05 15:04:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-06-05 15:04:37 -0700 |
commit | 92cd6eeea62e235fcb6634d87d1572c3da59f088 (patch) | |
tree | ad00e5623d0e057e47d5898aa861b8a528bc6398 /drivers/net/netconsole.c | |
parent | f291196979ca80cdef199ca2b55e2758e8c23a0d (diff) | |
download | linux-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.c | 2 |
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)) |