Skip to content

Commit

Permalink
[NETCONSOLE]: Clean up initcall warning.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matt Mackall authored and David S. Miller committed Jun 5, 2006
1 parent f291196 commit 92cd6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/netconsole.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 92cd6ee

Please sign in to comment.