tipc: Optimize initialization of configuration service
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 26 Apr 2012 20:50:22 +0000 (16:50 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 Apr 2012 21:19:42 +0000 (17:19 -0400)
Initialization now occurs in the calling thread of control,
rather than being deferred to the TIPC tasklet.  With the
current codebase, the deferral is no longer necessary.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/core.c

index 68eba03..c8a4f00 100644 (file)
@@ -152,7 +152,7 @@ static int tipc_core_start(void)
        if (!res)
                res = tipc_k_signal((Handler)tipc_subscr_start, 0);
        if (!res)
-               res = tipc_k_signal((Handler)tipc_cfg_init, 0);
+               res = tipc_cfg_init();
        if (!res)
                res = tipc_netlink_start();
        if (!res)