From nobody Thu Feb 15 20:28:43 2024 X-Original-To: dev-commits-src-main@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 4TbRV43Y90z5B7m2; Thu, 15 Feb 2024 20:28:44 +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 4TbRV41Tffz49qQ; Thu, 15 Feb 2024 20:28:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708028924; 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=sRy9rW4QVD+vWHYzWN/pc8aNi9W0cIcouDlDl+UVe+8=; b=IQcZDKKZIJTl65vKKYukmwX11PYaavp/XnJE4j23ZkziPhwZOBSzObkHViPOlBADXvjYq6 x+5zuEgdbIZAmQuzsyF5KU/zFWLej9bat482fsr8UkoiUTXwq8ZEu1rPCC2BA9eIHCym5D b3ji6U+ZnrRyfCGGMYxzNreqgj1vcJH5EbZ9X1azH0X2DganNywksxyDhbBmBMsJJYajId gP3CcbRv0TqmC9/rSoDtX+0vV0btTApVJLfXk7rYytnwAkRoAvWwpLrGSv30LnvTmwzY0z WLpNk2983FbC/CEZxQ5aPQg6yT4E1k+eDy+7aFiNq+dqDJghiHl9pvQa1GO97w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708028924; 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=sRy9rW4QVD+vWHYzWN/pc8aNi9W0cIcouDlDl+UVe+8=; b=D2fQiUadPwQkrId3h6EdGVICoO2NL5oaJU+tNToWVoAQb1UJxdrg/mbty/UOARfVwQ4Jf/ LUff8F/PKnPZJUvZ6Hl8pMAIHDJ3V4IODLRDYLYURe4J7CTIxmVHVnXRPq4ZQxWcNVUs46 YLGXsOHJ3Kjjru5QAd//DvRPvXkVxVG+RgWuerID/bxT654ZBIuFslcs+N+dVX8mLsyrIK 7ShcHBKH5kpbjldsKODqsOPx2tgJUkUwLNGI5hYEievbKMyF9POkk3+YnSZT5Od2ZER9HA Uapd/hfH6pMLCPQhYALsefqwJrusKU8SmDoZm/UqFuDtHGdFOR6Ns5fCSOYfHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708028924; a=rsa-sha256; cv=none; b=WFVoLQVPxZ5yTyF9Y9baxNKl66oWj0F1SNGINkVK4IuykrukNS/H4Y1fAfSF0hBB8eEJBB znmr1vWHu+/Pv9q1pfrP5WhT8OTptl0POERphgi1bQa9GcVnXBmmNivRsoCwPpzjAcCgLX fhczkerJqxJkUVftQQ6FEio2iOli0kauyYCBeMLXVwnUQRfz1Jeejkgc4q8tEJNyEmOYd2 SJKXBXTaVVLQHWaMF0OYJbqXXnEqiaOaBhbjEopPXNr7ixSSFU3Kosjii4m4l/R7ZSbok3 r7vviEEliChwR2Rdx2YwGEAV0gcN8q9EZVoVJVih/kPb3I4sRsSkHK9xhIFpMQ== 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 4TbRV35jJNzwDv; Thu, 15 Feb 2024 20:28:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41FKShKv053330; Thu, 15 Feb 2024 20:28:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41FKShsA053327; Thu, 15 Feb 2024 20:28:43 GMT (envelope-from git) Date: Thu, 15 Feb 2024 20:28:43 GMT Message-Id: <202402152028.41FKShsA053327@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 57d312b8eac9 - main - pci_pci: Remove obsolete comment List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 57d312b8eac9862ae60da32a9aecb6d9ccf08171 Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=57d312b8eac9862ae60da32a9aecb6d9ccf08171 commit 57d312b8eac9862ae60da32a9aecb6d9ccf08171 Author: John Baldwin AuthorDate: 2024-02-15 02:04:34 +0000 Commit: John Baldwin CommitDate: 2024-02-15 20:27:45 +0000 pci_pci: Remove obsolete comment This comment referred to the layering violation fixed in commit b377ff8110e3489eb6e6b920b51a2384dfc4eb0b. --- sys/dev/pci/pci_pci.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index 02fa8cf1fb9e..cda1597ac76e 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -1931,11 +1931,6 @@ pcib_suballoc_resource(struct pcib_softc *sc, struct pcib_window *w, pcib_child_name(child)); rman_set_rid(res, *rid); - /* - * If the resource should be active, pass that request up the - * tree. This assumes the parent drivers can handle - * activating sub-allocated resources. - */ if (flags & RF_ACTIVE) { if (bus_activate_resource(child, type, *rid, res) != 0) { rman_release_resource(res);