Drop the write-only direction fields and the unused pattern names

This commit is contained in:
flamingcow
2026-08-04 12:26:10 -07:00
parent 21b20d0071
commit 03b7ff4954
2 changed files with 14 additions and 25 deletions
-6
View File
@@ -34,10 +34,7 @@ func (e endpoint) macString() string {
}
type direction struct {
label string
short string
tx endpoint
rx endpoint
specs []*frameSpec
txStats []*txStats
rxStats []*rxStats
@@ -450,10 +447,7 @@ func (d *direction) primeCounters() {
func buildDirection(label string, tx, rx endpoint, sizes []int, cfg config) (*direction, error) {
d := &direction{
label: label,
short: tx.tag + "→" + rx.tag,
tx: tx,
rx: rx,
streams: newLossWindows(cfg.streams),
cable: newCableStats(),
}