From nobody Tue Apr 25 15:04:36 2023 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 4Q5QJj1fCCz47JSm; Tue, 25 Apr 2023 15:04:37 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q5QJj18Dfz3Pqd; Tue, 25 Apr 2023 15:04:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682435077; 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=A6Khh4f2G1Ovpv2B6mpGdzkhiCFQPyKn6w3P7dpkZo0=; b=CzBJrhu7QofqgiqR6ADC950oPuwZdn1cuZDlpaJQGb11CXLxor5rLKyiyBGraHwRKswfgK jsvJ4BMUHbl745yZFCjpECJdvhRYmUxMgboNNaEZjiDUC+QTTrz9VLihwRKx97/vcXsgut OA9fpv2SbHvj5PxgAtNtq8RmWErhDgyPG0Vk5X5XwCmG2xNJxaAfgPJdoz+MqdGYEC7+V8 N7+CrC0GxQujuOhoP2qWLglXjdfiuVQWDjmASK74BYf2GtVqDPP/GWOifk6PXeE4hteXCX GhubbYLYiDVyS+hCUvnxEcojI/jEL/8fWDDSOhPUT2ZLtjpp/RFFA9W/Bwgtww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682435077; 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=A6Khh4f2G1Ovpv2B6mpGdzkhiCFQPyKn6w3P7dpkZo0=; b=O1SUf9DeS2WdY0NK/4U2UZol4bGU/xTyniP93igiEFL93xgZhWk3oUdNsLfOHIrpT5pJwu fSNyKCFqz+jnOUz0ssLqlAUFsjPQNvm69uwkrIjqCLB7bOEdafoigdRtMnmn5dte+xpnWB cIJpgTAu7zVt/GQuXAyiQOMM7tC3P/cGKOMSNJKWpZ+uVtjZd88Mjr3e6l7jTBFNKCW0Wf qVwMYqSUy5cy9pD/xAn6mtGdkBDChFsP7MachkupPkIFg08V6YcrIjYaNpLiU8EwNbCS8D PuclNyFwHX27a8//mJM8pPr2CSfRvYlD+eMJ8ylLtAagRHGMol707veF5XeMWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682435077; a=rsa-sha256; cv=none; b=GZvT6owS59B74Jl6eKggWBaO9/hPG7w8nUGJYUtnOD8qH3maxYtzPJvzAXf6XLOf9/RqAq k2fiVAcJbJ9KUHBrL32//1+57QCfjaC7NqwsoK6DxeNz5/L2zLy8IjglFDaepk1r3ffJR3 5cnIvzfZq39PIbBJKjkSsAHkbdCbpI7wdJqEiCZnurCYWBDclkKSOT0nu3la0YsOpKxhxG TLaVo8cWC0rzAzccPrSiJROZkMEFhwKpTR/Hp+AABv2LVS6NwOBIYjDjcc7/j0Pok6iZeC j385BylEUFwo7SDO24Mx9G2/0c2Y83tCdxfTjA41vCg7i59sjPAc+WHYvUMk5w== 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 4Q5QJj0FHwz1Bb2; Tue, 25 Apr 2023 15:04:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33PF4a4E092606; Tue, 25 Apr 2023 15:04:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33PF4aB8092605; Tue, 25 Apr 2023 15:04:36 GMT (envelope-from git) Date: Tue, 25 Apr 2023 15:04:36 GMT Message-Id: <202304251504.33PF4aB8092605@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Alexander V. Chernikov" Subject: git: 04349d30946a - main - netlink: remove now-unused rtnl_iface_find_cloner_locked(). 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: melifaro X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 04349d30946ad6665550106815430f0709a33447 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by melifaro: URL: https://cgit.FreeBSD.org/src/commit/?id=04349d30946ad6665550106815430f0709a33447 commit 04349d30946ad6665550106815430f0709a33447 Author: Alexander V. Chernikov AuthorDate: 2023-04-25 15:04:11 +0000 Commit: Alexander V. Chernikov CommitDate: 2023-04-25 15:04:11 +0000 netlink: remove now-unused rtnl_iface_find_cloner_locked(). --- sys/netlink/route/iface.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/sys/netlink/route/iface.c b/sys/netlink/route/iface.c index d81dc1f0ecae..816d6ff8632e 100644 --- a/sys/netlink/route/iface.c +++ b/sys/netlink/route/iface.c @@ -79,8 +79,6 @@ static SLIST_HEAD(, nl_cloner) nl_cloners = SLIST_HEAD_INITIALIZER(nl_cloners); static struct sx rtnl_cloner_lock; SX_SYSINIT(rtnl_cloner_lock, &rtnl_cloner_lock, "rtnl cloner lock"); -static struct nl_cloner *rtnl_iface_find_cloner_locked(const char *name); - /* * RTM_GETLINK request * sendto(3, {{len=32, type=RTM_GETLINK, flags=NLM_F_REQUEST|NLM_F_DUMP, seq=1641940952, pid=0}, @@ -1016,19 +1014,6 @@ rtnl_iface_del_cloner(struct nl_cloner *cloner) sx_xunlock(&rtnl_cloner_lock); } -static struct nl_cloner * -rtnl_iface_find_cloner_locked(const char *name) -{ - struct nl_cloner *cloner; - - SLIST_FOREACH(cloner, &nl_cloners, next) { - if (!strcmp(name, cloner->name)) - return (cloner); - } - - return (NULL); -} - void rtnl_ifaces_init(void) {