Skip to content

Commit 92cd6ee

Browse files
Matt Mackalldavem330
authored andcommitted
[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>
1 parent f291196 commit 92cd6ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/net/netconsole.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static int init_netconsole(void)
107107

108108
if(!configured) {
109109
printk("netconsole: not configured, aborting\n");
110-
return -EINVAL;
110+
return 0;
111111
}
112112

113113
if(netpoll_setup(&np))

0 commit comments

Comments
 (0)