Commit 92cd6eee authored by Matt Mackall's avatar Matt Mackall Committed by David S. Miller

[NETCONSOLE]: Clean up initcall warning.

From: Matt Mackall <mpm@selenic.com>

netconsole is being wrong here.  If it wasn't enabled there's no error.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f2911969
...@@ -107,7 +107,7 @@ static int init_netconsole(void) ...@@ -107,7 +107,7 @@ static int init_netconsole(void)
if(!configured) { if(!configured) {
printk("netconsole: not configured, aborting\n"); printk("netconsole: not configured, aborting\n");
return -EINVAL; return 0;
} }
if(netpoll_setup(&np)) if(netpoll_setup(&np))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment