diff options
author | Vladimir Oltean <[email protected]> | 2022-01-06 01:11:13 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-01-06 11:59:09 +0000 |
commit | e31dbd3b6aba585231cd84a87adeb22e7c6a8c19 (patch) | |
tree | fdc506a5d98febdbedc0a7addabda2cfd3ac3501 /tools/perf/scripts/python/libxed.py | |
parent | 904e112ad431492b34f235f59738e8312802bbf9 (diff) |
net: dsa: merge rtnl_lock sections in dsa_slave_create
Currently dsa_slave_create() has two sequences of rtnl_lock/rtnl_unlock
in a row. Remove the rtnl_unlock() and rtnl_lock() in between, such that
the operation can execute slighly faster.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions