diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2011-02-26 03:11:25 +0300 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-03-13 23:35:17 +0300 |
commit | 34e46258cb9f53b41e8ffd2e9acd58e0cf64b158 (patch) | |
tree | 1cf7f8d94a825678769b186849a6f41fa6765cf9 /net/tipc/net.h | |
parent | 672d99e19a12b703c9e2d71ead8fb8b8a85a3886 (diff) | |
download | linux-34e46258cb9f53b41e8ffd2e9acd58e0cf64b158.tar.xz |
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>
Diffstat (limited to 'net/tipc/net.h')
-rw-r--r-- | net/tipc/net.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/net.h b/net/tipc/net.h index 0ba6093fb6ce..9eb4b9e220eb 100644 --- a/net/tipc/net.h +++ b/net/tipc/net.h @@ -37,8 +37,6 @@ #ifndef _TIPC_NET_H #define _TIPC_NET_H -extern atomic_t tipc_num_links; - extern rwlock_t tipc_net_lock; void tipc_net_route_msg(struct sk_buff *buf); |