git: da1a1ad062a2 - main - if_ovpn: remove unused argument
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Sep 2024 12:04:35 UTC
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=da1a1ad062a260f3518bdd1bae94ea644cef2a22 commit da1a1ad062a260f3518bdd1bae94ea644cef2a22 Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2024-09-09 09:10:35 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2024-09-10 12:03:56 +0000 if_ovpn: remove unused argument Reviewed by: zlei Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D46615 --- sys/net/if_ovpn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_ovpn.c b/sys/net/if_ovpn.c index ee097cfa24b3..349fa5b7cd13 100644 --- a/sys/net/if_ovpn.c +++ b/sys/net/if_ovpn.c @@ -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);