mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f291196979
commit
92cd6eeea6
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue