Date: Thu, 27 Feb 2025 14:16:57 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 555691ca601d - stable/14 - pci_pci: Remove obsolete comment Message-ID: <202502271416.51REGvF7016452@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=555691ca601dc4efe390a7a4034bdec1906b705d commit 555691ca601dc4efe390a7a4034bdec1906b705d Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2024-02-15 02:04:34 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2025-02-27 13:09:21 +0000 pci_pci: Remove obsolete comment This comment referred to the layering violation fixed in commit b377ff8110e3489eb6e6b920b51a2384dfc4eb0b. (cherry picked from commit 57d312b8eac9862ae60da32a9aecb6d9ccf08171) --- 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502271416.51REGvF7016452>