git: 57d312b8eac9 - main - pci_pci: Remove obsolete comment

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 15 Feb 2024 20:28:43 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=57d312b8eac9862ae60da32a9aecb6d9ccf08171

commit 57d312b8eac9862ae60da32a9aecb6d9ccf08171
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-02-15 02:04:34 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
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);