mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +00:00
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:
parent
1c60b2cb0b
commit
da1a1ad062
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user