aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/lib/py/env.py
diff options
context:
space:
mode:
authorAntonio Quartulli <[email protected]>2025-04-30 00:35:18 +0000
committerAntonio Quartulli <[email protected]>2025-05-15 11:09:36 +0000
commitadcdaac57d3ccb38f2f1b0a8da31b5c1403385f0 (patch)
tree25cc36e7f32cc80b9cb6241ec365acd454bb0837 /tools/testing/selftests/drivers/net/lib/py/env.py
parentselftest/net/ovpn: extend coverage with more test cases (diff)
downloadkernel-adcdaac57d3ccb38f2f1b0a8da31b5c1403385f0.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py/env.py')
0 files changed, 0 insertions, 0 deletions