]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 66e74f7402610f5ac9ad769457f01b5254d1b27e..bf58db29e2ed6342bd707931ccd598a3c376b07c 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))