Skip to content

Commit

Permalink
[NETCONSOLE]: Clean up initcall warning.
Browse files Browse the repository at this point in the history
From: Matt Mackall <[email protected]>

netconsole is being wrong here.  If it wasn't enabled there's no error.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Matt Mackall authored and davem330 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.