[NETCONSOLE]: Clean up initcall warning.
authorMatt Mackall <mpm@selenic.com>
Mon, 5 Jun 2006 22:04:37 +0000 (15:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2006 22:04:37 +0000 (15:04 -0700)
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>
drivers/net/netconsole.c

index 66e74f7..bf58db2 100644 (file)
@@ -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))