summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSeth Forshee <sforshee@digitalocean.com>2021-10-26 21:37:21 +0300
committerJakub Kicinski <kuba@kernel.org>2021-10-28 03:09:26 +0300
commit85c0c3eb9a6657887e3f7c5140e38f529c815ee0 (patch)
tree3ee2827d5bdfc354de8fc7890d576c822c2102cf /scripts/generate_rust_analyzer.py
parent267463823adbeb16a822648adfe123c84c061052 (diff)
downloadlinux-85c0c3eb9a6657887e3f7c5140e38f529c815ee0.tar.xz
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 <kuba@kernel.org> Signed-off-by: Seth Forshee <sforshee@digitalocean.com> Link: https://lore.kernel.org/r/20211026183721.137930-1-seth@forshee.me Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions