Repository navigation
Commit 34e4625
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>1 parent 672d99e commit 34e4625
3 files changed
Lines changed: 6 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | 112 | | |
129 | 113 | | |
130 | 114 | | |
| |||
214 | 198 | | |
215 | 199 | | |
216 | 200 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | 201 | | |
221 | 202 | | |
222 | 203 | | |
| |||
232 | 213 | | |
233 | 214 | | |
234 | 215 | | |
| 216 | + | |
| 217 | + | |
235 | 218 | | |
236 | 219 | | |
237 | 220 | | |
238 | 221 | | |
239 | 222 | | |
240 | 223 | | |
241 | | - | |
| 224 | + | |
| 225 | + | |
242 | 226 | | |
243 | 227 | | |
244 | 228 | | |
245 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
0 commit comments