From nobody Tue Sep 10 12:04:35 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X32SN0n0Dz5WLvq; Tue, 10 Sep 2024 12:04:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X32SM75Vwz41Zv; Tue, 10 Sep 2024 12:04:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725969876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hKwbbiJkm6aLSot88cFPY59jFiUmxN50hF77EXzqGsQ=; b=Bg5WaNzClpDp35fSJkZgaqqyDrvDClQZ/HJhwXT5xZ3oQuLZm5wO8iyZrD3au3AfJ6dUFh MvkAPdb2BGtxSZCheRx3VstKwuYAEJk/swVO++dWqbSngnZ8JQre+ooeiVfDy9IPwsEEsQ uN+Ye6ySCIAOqs4p4LK4kKkxCgPF7Y3/gpOFsQlrZC1779WvV8gVF6pgQiOtkPZz1g43fe Qc6sqGstNhk5EUqnnj/xJNCtpspBRn22erQ8si/lGsCKXLFWy9uXG8mGvDHX2kx6n8DZ1t 2fOo4SnDcA32m6hEoepfDFlsuHkWFvAWVHoTBQlIZ1W/BW05DxvKkazE/eXMgA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725969876; a=rsa-sha256; cv=none; b=Tp/HWMT/5tlZE7qOpFofSwiwcfP3/QEUGOd30JKHSNGB41KSML2bb0tUPAJCBJiViJGIp3 sxIOKCODJjHRrGyc2ngE/iY6rK1cJqq1FvcgnGt1rF0vIVNoF4NZX+BpmlD3uSBEWtE6Vw k4KJslS/viVTcH2g4AthsWhoGK5OGFFkCNY2MdvPDOw9joIzqTS1l3CiJFJqirB2DVcwZ8 qTHR2URFQVNJeE+gcZbr5EDxsJTcUUxIIBhxiga5PIDvqnmpUH2a+6+kpCfvMW5yhozSN/ GfL210alEBGxms0BuiAivO4bXkPxs/mKd0xsbhUHJl08tEvigQ3bUlT2GE/Yyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725969876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hKwbbiJkm6aLSot88cFPY59jFiUmxN50hF77EXzqGsQ=; b=FhOscs+v9rmtUBVyel1oDUm2E07yJhfPYze2EL3UyP/J0bKhXpCzUyIIRWqbCCUfVDE9pd CgndPJpq+092JIwIyefeAo/dEvbVviZQ6u5O96wNBdQoOViO6h1hCIPlrtC6EE979aM/29 B7HTiq6U8rdfyiPbCABsBkZYOxSuCzm8xdpFu3X8W7t8E0IzUnbSelAaN3rL8eqUmRVZzb 70V48WOjFoAyuzsC4vt8Lu+9iqWVZz0B5MdkQaPesCDjTsGHVeMCqjTDcj25zt7LLEDwr+ pwkfvYYlB2W6fq2nd1XN13S1TT2INue9d7sG7QLmcmzDM0uKbvpQd3H4ZKWGSg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X32SM6hSpzmgt; Tue, 10 Sep 2024 12:04:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48AC4Z2I092186; Tue, 10 Sep 2024 12:04:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48AC4Zx2092183; Tue, 10 Sep 2024 12:04:35 GMT (envelope-from git) Date: Tue, 10 Sep 2024 12:04:35 GMT Message-Id: <202409101204.48AC4Zx2092183@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: da1a1ad062a2 - main - if_ovpn: remove unused argument List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: da1a1ad062a260f3518bdd1bae94ea644cef2a22 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=da1a1ad062a260f3518bdd1bae94ea644cef2a22 commit da1a1ad062a260f3518bdd1bae94ea644cef2a22 Author: Kristof Provost AuthorDate: 2024-09-09 09:10:35 +0000 Commit: Kristof Provost 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);