]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: manually inline net_start/stop, make assoc. vars static
authorAllan Stephens <allan.stephens@windriver.com>
Sat, 26 Feb 2011 00:11:25 +0000 (19:11 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 13 Mar 2011 20:35:17 +0000 (16:35 -0400)
commite8b87f90d20af86dc42038e8b7c4bb15ec87e22d
tree1cf7f8d94a825678769b186849a6f41fa6765cf9
parent8fe13065b14f01b9a030f46dda16603ae81344ff
tipc: manually inline net_start/stop, make assoc. vars static

Relocates network-related variables into the subsystem files where
they are now primarily used (following the recent rework of TIPC's
node table), and converts globals into locals where possible. Changes
the initialization of tipc_num_links from run-time to compile-time,
and eliminates the net_start routine that becomes empty as a result.
Also eliminates the corresponding net_stop routine by moving its
(trivial) content into the one location that called the routine.

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