From: Matt Mackall Date: Mon, 5 Jun 2006 22:04:37 +0000 (-0700) Subject: [NETCONSOLE]: Clean up initcall warning. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92cd6eeea62e235fcb6634d87d1572c3da59f088;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [NETCONSOLE]: Clean up initcall warning. From: Matt Mackall netconsole is being wrong here. If it wasn't enabled there's no error. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- 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))