diff options
| author | Seth Forshee <[email protected]> | 2021-10-26 13:37:21 -0500 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-10-27 17:09:26 -0700 |
| commit | 85c0c3eb9a6657887e3f7c5140e38f529c815ee0 (patch) | |
| tree | 3ee2827d5bdfc354de8fc7890d576c822c2102cf /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c | |
| parent | 267463823adbeb16a822648adfe123c84c061052 (diff) | |
net: sch: simplify condtion for selecting mini_Qdisc_pair buffer
The only valid values for a miniq pointer are NULL or a pointer to
miniq1 or miniq2, so testing for miniq_old != &miniq1 is functionally
equivalent to testing that it is NULL or equal to &miniq2.
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Seth Forshee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions