From: Matt Mackall Date: Mon, 5 Jun 2006 22:04:37 +0000 (-0700) Subject: [NETCONSOLE]: Clean up initcall warning. X-Git-Tag: v2.6.17-rc6~1^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92cd6eeea62e235fcb6634d87d1572c3da59f088;p=platform%2Fkernel%2Flinux-stable.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 66e74f7..bf58db2 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))