mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 09:46:04 -05:00
ACPI: Don't set Smart Pointers to be nullptr
Instead of setting the smart pointers to be nullptr in the initializer list, it's done automatically by OwnPtr.
This commit is contained in:
parent
85307dd26e
commit
5ce6215af7
Notes:
sideshowbarker
2024-07-19 09:05:23 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/5ce6215af7b Pull-request: https://github.com/SerenityOS/serenity/pull/1274 Reviewed-by: https://github.com/awesomekling Reviewed-by: https://github.com/shannonbooth
1 changed files with 0 additions and 4 deletions
|
@ -249,8 +249,6 @@ void ACPIStaticParser::locate_all_aml_tables()
|
|||
ACPIStaticParser::ACPIStaticParser()
|
||||
: ACPIParser(true)
|
||||
, m_rsdp(search_rsdp())
|
||||
, m_main_sdt(nullptr)
|
||||
, m_fadt(nullptr)
|
||||
{
|
||||
if (!m_rsdp.is_null()) {
|
||||
kprintf("ACPI: Using RSDP @ P 0x%x\n", m_rsdp);
|
||||
|
@ -308,8 +306,6 @@ PhysicalAddress ACPIStaticParser::search_rsdp()
|
|||
ACPIStaticParser::ACPIStaticParser(PhysicalAddress rsdp)
|
||||
: ACPIParser(true)
|
||||
, m_rsdp(rsdp)
|
||||
, m_main_sdt(nullptr)
|
||||
, m_fadt(nullptr)
|
||||
{
|
||||
kprintf("ACPI: Using RSDP @ Px%x\n", rsdp.get());
|
||||
m_operable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue