aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2024-02-15 02:04:34 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2024-02-15 20:27:45 +0000
commit57d312b8eac9862ae60da32a9aecb6d9ccf08171 (patch)
tree28da47ac33d12ea13810697d7ca0d1983a2b2358
parentd714e73f789515963a22fe64417bf3883cdb599c (diff)
downloadsrc-57d312b8eac9862ae60da32a9aecb6d9ccf08171.tar.gz
src-57d312b8eac9862ae60da32a9aecb6d9ccf08171.zip
pci_pci: Remove obsolete comment
This comment referred to the layering violation fixed in commit b377ff8110e3489eb6e6b920b51a2384dfc4eb0b.
-rw-r--r--sys/dev/pci/pci_pci.c5
1 files changed, 0 insertions, 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);