Repository navigation
Commit 92b9810
committed
refactor(datapath): remove dead code after proto refactors
Remove methods that have no callers after the lazy-decode and flat-bytes
proto changes:
- ProtoPublish::is_command / get_application_payload / get_command_payload
- SlimHeader::set_error_flag (duplicate of set_error)
- ProtoMessage::set_error_flag (same)
- ProtoName::name_id (redundant: id() + NULL_COMPONENT check)
Also fix minor issues:
- Redundant destructure in subscription_table remove_connection loop
- Clippy: &str passed where str suffices in session_controller verify call
Signed-off-by: Sam Betts <1769706+Tehsmash@users.noreply.github.com>1 parent dda1f88 commit 92b9810
4 files changed
Lines changed: 3 additions & 54 deletions
File tree
- data-plane/core
- datapath/src
- messages
- tables
- session/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 224 | | |
231 | 225 | | |
232 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | 394 | | |
399 | 395 | | |
400 | 396 | | |
| |||
590 | 586 | | |
591 | 587 | | |
592 | 588 | | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
600 | | - | |
601 | | - | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | 589 | | |
630 | 590 | | |
631 | 591 | | |
| |||
926 | 886 | | |
927 | 887 | | |
928 | 888 | | |
929 | | - | |
930 | | - | |
931 | | - | |
932 | | - | |
933 | 889 | | |
934 | 890 | | |
935 | 891 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
648 | | - | |
| 647 | + | |
649 | 648 | | |
650 | 649 | | |
651 | 650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments