From nobody Mon Feb 28 17:50:36 2022 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 4A6F119EFD99; Mon, 28 Feb 2022 17:50: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 4K6nwY0kCGz3mrF; Mon, 28 Feb 2022 17:50:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646070637; 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=YPW5ptnrI9YCRXd1lZe2KkiYOxrH8tA8figENF7i01Q=; b=BuKX5N0ac5ScUaRtcCgHSXTnCpo3NJQyE8iTaJOh+TONqPTta2NmNMipMoIRQTVGXG8Y7u j/9zr1x0AUgb3HKrFDmkEHyOKA4C+fDg7dKDBG3oIkhdwp2qoS1Jz1unuhv/I+18pVv7IE xmcnWCAnZGcOO1VfQRcDWrXdLtMeej0JamFbXPGofMfHvZjhdUYrvQsN+SVy25dkq0UNtF RQ1/RqN0X2PHXNxbBtFGrovqdz50aOum6rNnqbGXQHs6EEul/RmPYfKgn0KSz4RAcgV5XS zRYxC/H+y+/KckiwMO3lpOHStEVwGtrQKnSZQpdMnUZf3hXKazz62m+P5eXSZQ== 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 ED6381FAD9; Mon, 28 Feb 2022 17:50:36 +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 21SHoaQC068383; Mon, 28 Feb 2022 17:50:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21SHoaUm068382; Mon, 28 Feb 2022 17:50:36 GMT (envelope-from git) Date: Mon, 28 Feb 2022 17:50:36 GMT Message-Id: <202202281750.21SHoaUm068382@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 1c347de37f34 - main - axgbe_setup_sysctl is a nop, remove it and the call to it. 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1c347de37f344688c3fe9726d5864d120728ce2f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646070637; 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=YPW5ptnrI9YCRXd1lZe2KkiYOxrH8tA8figENF7i01Q=; b=diuyPtPtWk80qvryn78Rtj7ySrxtIwSSfG0vpMKLp0MHisEinYwBq9HKsSbejYknP8ivLc IPOmfnPTE1Dm2nWv+UCAe7i3tBuPhMQVeycc35CUCB3zlqKdT22886Qd4ojxGtrAEQlfZ9 zXOLFgcvRauGJJoALGfpAL+qiJoJLQWJWSM1VVXFzMurm2MjuPzYhk3Uc66okaZZq31V7K 8XJtm8rCUibEMxOh7vsH2Bc3lf2HH/LS28qpNfUnn6pyywW4zSFwIAROdqJyy68gVyy5tB uI2/braYjiyYATW2mkEOSmKUvsiJr/PiwRYOey6XwA6OiE0X+4G2RD8xLCjfMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646070637; a=rsa-sha256; cv=none; b=FN2ua7MYrxhs+zGB0vWxJagssAFOxXiGfg/e/7Dyl1azOtlC4ac6DT4miBjJUpU1jriPas mQU6jCxpG24blXXNu7LewI7GAWhYXVv3ES1OsE2EpooG3Uz0aKHTtEXfZUftRlDoKveNTQ YtnrRWawC+g03RtCuAqgPilnsklZjVG4q8o0/6jmf4thjw2y0RVDtryrl4tXLag3XuiuIo 9WwfdGJzm20LTmlYs7KiXysKD8Yu9iVHUM7sOSkTsljG05LPgwfygmw26Db/YBrOpfS//z WTbCvLu5RnsRG1P39Fq35Q98ZJ+Rtei/E+zVnTaMYVloLGGsUHZYbnr3gl6M+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=1c347de37f344688c3fe9726d5864d120728ce2f commit 1c347de37f344688c3fe9726d5864d120728ce2f Author: Warner Losh AuthorDate: 2022-02-28 17:12:27 +0000 Commit: Warner Losh CommitDate: 2022-02-28 17:14:33 +0000 axgbe_setup_sysctl is a nop, remove it and the call to it. Should we need something like this in the future, we can add it back. Sponsored by: Netflix --- sys/dev/axgbe/if_axgbe_pci.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/sys/dev/axgbe/if_axgbe_pci.c b/sys/dev/axgbe/if_axgbe_pci.c index c7830de4c859..aa880d9747ee 100644 --- a/sys/dev/axgbe/if_axgbe_pci.c +++ b/sys/dev/axgbe/if_axgbe_pci.c @@ -1304,18 +1304,6 @@ xgbe_default_config(struct xgbe_prv_data *pdata) pdata->enable_rss = 1; } -static void -axgbe_setup_sysctl(struct xgbe_prv_data *pdata) -{ - struct sysctl_ctx_list *clist; - struct sysctl_oid *parent; - struct sysctl_oid_list *top; - - clist = device_get_sysctl_ctx(pdata->dev); - parent = device_get_sysctl_tree(pdata->dev); - top = SYSCTL_CHILDREN(parent); -} - static int axgbe_if_attach_post(if_ctx_t ctx) { @@ -1438,8 +1426,6 @@ axgbe_if_attach_post(if_ctx_t ctx) scctx->isc_max_frame_size = ifp->if_mtu + 18; scctx->isc_min_frame_size = XGMAC_MIN_PACKET; - axgbe_setup_sysctl(pdata); - axgbe_sysctl_init(pdata); axgbe_pci_init(pdata);