Commit 8e6b509
authored
Remove unused member variables across multiple subsystems (#13005)
Remove unused member variables and dead code identified by static
analysis across core, cache, net, proxy, and plugin subsystems.
* Event.h: drop dead #ifdef ONLY_USED_FOR_FIB_AND_BIN_HEAP block.
* HttpSM: remove unused m_last_state, prev_hook_start_time, cur_hooks.
* CacheVC: reorder fields; rename unused open_read_timeout flag.
* AIO / ink_aiocb: remove unused aio_state, aio__pad[1], and index.
These were cargo-culted from POSIX struct aiocb; ink_aiocb is
internal to ATS and never crosses an ABI boundary.
* LogBuffer: remove unused m_in_network_order and simplify iterator.
* Http1{Client,Server}Transaction: remove unused outbound_transparent.
* ConnectingEntry: remove unused NetVCOptions opt field.
* ParentConsistentHash: remove unused foundParents member.
* SSLNetVConnection: remove unused protocol_mask_set and protocol_mask
(unrelated to the TLSValidProtocols mask used by SNI config).1 parent 395bbaf commit 8e6b509
15 files changed
Lines changed: 29 additions & 76 deletions
File tree
- include
- iocore
- aio
- eventsystem
- proxy
- http
- logging
- tscore
- src
- iocore
- aio
- cache
- net
- proxy
- http
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | 270 | | |
285 | 271 | | |
286 | 272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 44 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 47 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
490 | 489 | | |
491 | 490 | | |
492 | 491 | | |
| |||
564 | 563 | | |
565 | 564 | | |
566 | 565 | | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | 566 | | |
571 | | - | |
572 | 567 | | |
573 | 568 | | |
574 | 569 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | 298 | | |
300 | 299 | | |
301 | 300 | | |
| |||
311 | 310 | | |
312 | 311 | | |
313 | 312 | | |
314 | | - | |
315 | | - | |
| 313 | + | |
| 314 | + | |
316 | 315 | | |
317 | 316 | | |
318 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | 52 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
| |||
301 | 300 | | |
302 | 301 | | |
303 | 302 | | |
304 | | - | |
305 | 303 | | |
306 | 304 | | |
307 | 305 | | |
308 | 306 | | |
309 | 307 | | |
310 | | - | |
311 | 308 | | |
312 | 309 | | |
313 | 310 | | |
| |||
0 commit comments