diff options
| author | 2021-11-14 20:02:35 +0100 | |
|---|---|---|
| committer | 2021-11-15 14:07:06 +0000 | |
| commit | cc0be1ad686fb29a4d127948486f40b17fb34b50 (patch) | |
| tree | f93536bfcdeaaa445d144fddca21ad7f53ac28d4 /tools/perf/scripts/python | |
| parent | net: sched: sch_netem: Refactor code in 4-state loss generator (diff) | |
| download | linux-dev-cc0be1ad686fb29a4d127948486f40b17fb34b50.tar.xz linux-dev-cc0be1ad686fb29a4d127948486f40b17fb34b50.zip | |
net: bridge: Slightly optimize 'find_portno()'
The 'inuse' bitmap is local to this function. So we can use the
non-atomic '__set_bit()' to save a few cycles.
While at it, also remove some useless {}.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
