diff options
| author | Antonio Quartulli <antonio@openvpn.net> | 2025-04-30 02:35:18 +0200 |
|---|---|---|
| committer | Antonio Quartulli <antonio@openvpn.net> | 2025-05-15 13:09:36 +0200 |
| commit | adcdaac57d3ccb38f2f1b0a8da31b5c1403385f0 (patch) | |
| tree | 25cc36e7f32cc80b9cb6241ec365acd454bb0837 /rust/helpers/pci.c | |
| parent | 944f8b6abab6a456254cf9617131144adac1a506 (diff) | |
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 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions
