diff options
author | 2025-04-30 02:35:18 +0200 | |
---|---|---|
committer | 2025-05-15 13:09:36 +0200 | |
commit | adcdaac57d3ccb38f2f1b0a8da31b5c1403385f0 (patch) | |
tree | 25cc36e7f32cc80b9cb6241ec365acd454bb0837 /tools/perf/scripts/python/task-analyzer.py | |
parent | selftest/net/ovpn: extend coverage with more test cases (diff) | |
download | wireguard-linux-adcdaac57d3ccb38f2f1b0a8da31b5c1403385f0.tar.xz wireguard-linux-adcdaac57d3ccb38f2f1b0a8da31b5c1403385f0.zip |
ovpn: drop useless reg_state check in keepalive worker
The keepalive worker is cancelled before calling
unregister_netdevice_queue(), therefore it will never
hit a situation where the reg_state can be different
than NETDEV_REGISTERED.
For this reason, checking reg_state is useless and the
condition can be removed.
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions