mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
Kernel: Remove PCI information node from ProcFS
The SystemMonitor program was the last client to utilize this node, and now it is not using this node anymore, we can simply remove this for good.
This commit is contained in:
parent
889b9d029e
commit
38bf7863d0
Notes:
sideshowbarker
2024-07-17 18:23:22 +09:00
Author: https://github.com/supercomputer7
Commit: 38bf7863d0
Pull-request: https://github.com/SerenityOS/serenity/pull/14712
Reviewed-by: https://github.com/linusg
3 changed files with 0 additions and 53 deletions
|
@ -96,7 +96,6 @@ UNMAP_AFTER_INIT bool Access::find_and_register_pci_host_bridges_from_acpi_mcfg_
|
|||
UNMAP_AFTER_INIT bool Access::initialize_for_multiple_pci_domains(PhysicalAddress mcfg_table)
|
||||
{
|
||||
VERIFY(!Access::is_initialized());
|
||||
ProcFSComponentRegistry::the().root_directory().add_pci_node({});
|
||||
auto* access = new Access();
|
||||
if (!access->find_and_register_pci_host_bridges_from_acpi_mcfg_table(mcfg_table))
|
||||
return false;
|
||||
|
@ -108,7 +107,6 @@ UNMAP_AFTER_INIT bool Access::initialize_for_multiple_pci_domains(PhysicalAddres
|
|||
UNMAP_AFTER_INIT bool Access::initialize_for_one_pci_domain()
|
||||
{
|
||||
VERIFY(!Access::is_initialized());
|
||||
ProcFSComponentRegistry::the().root_directory().add_pci_node({});
|
||||
auto* access = new Access();
|
||||
auto host_bridge = HostBridge::must_create_with_io_access();
|
||||
access->add_host_controller(move(host_bridge));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue