aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netconsole.c
diff options
context:
space:
mode:
authorMatt Mackall <[email protected]>2006-06-05 22:04:37 +0000
committerDavid S. Miller <[email protected]>2006-06-05 22:04:37 +0000
commit92cd6eeea62e235fcb6634d87d1572c3da59f088 (patch)
treead00e5623d0e057e47d5898aa861b8a528bc6398 /drivers/net/netconsole.c
parent[TCP]: Avoid skb_pull if possible when trimming head (diff)
downloadkernel-92cd6eeea62e235fcb6634d87d1572c3da59f088.tar.gz
kernel-92cd6eeea62e235fcb6634d87d1572c3da59f088.zip
[NETCONSOLE]: Clean up initcall warning.
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]>
Diffstat (limited to 'drivers/net/netconsole.c')
-rw-r--r--drivers/net/netconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c
index 66e74f740261..bf58db29e2ed 100644
--- a/drivers/net/netconsole.c
+++ b/drivers/net/netconsole.c
@@ -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))