[NETCONSOLE]: Clean up initcall warning.
authorMatt Mackall <[email protected]>
Mon, 5 Jun 2006 22:04:37 +0000 (15:04 -0700)
committerDavid S. Miller <[email protected]>
Mon, 5 Jun 2006 22:04:37 +0000 (15:04 -0700)
From: Matt Mackall <[email protected]>

netconsole is being wrong here.  If it wasn't enabled there's no error.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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))