if_ovpn: remove unused argument

Reviewed by:	zlei
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D46615
This commit is contained in:
Kristof Provost 2024-09-09 11:10:35 +02:00
parent 1c60b2cb0b
commit da1a1ad062

View File

@ -379,7 +379,7 @@ ovpn_has_peers(struct ovpn_softc *sc)
}
static void
ovpn_rele_so(struct ovpn_softc *sc, struct ovpn_kpeer *peer)
ovpn_rele_so(struct ovpn_softc *sc)
{
bool has_peers;
@ -489,7 +489,7 @@ ovpn_peer_release_ref(struct ovpn_kpeer *peer, bool locked)
ovpn_free_kkey_dir(peer->keys[i].decrypt);
}
ovpn_rele_so(sc, peer);
ovpn_rele_so(sc);
callout_stop(&peer->ping_send);
callout_stop(&peer->ping_rcv);