diff options
author | Andreas Kling <kling@serenityos.org> | 2021-08-05 20:51:35 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-06 00:37:47 +0200 |
commit | beeed90a3fcb82cc07b38aea366141bd664b1857 (patch) | |
tree | 6bba375adbb47ec71834ca315090da9d8eda281f /Kernel | |
parent | f3f0b80b830072fc1c069263afcf7dd1fc5b9350 (diff) | |
download | serenity-beeed90a3fcb82cc07b38aea366141bd664b1857.zip |
Kernel: Remove unused PCI::Access::access_type()
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Bus/PCI/Access.h | 1 | ||||
-rw-r--r-- | Kernel/Bus/PCI/IOAccess.h | 1 | ||||
-rw-r--r-- | Kernel/Bus/PCI/MMIOAccess.h | 1 | ||||
-rw-r--r-- | Kernel/Bus/PCI/WindowedMMIOAccess.h | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/Kernel/Bus/PCI/Access.h b/Kernel/Bus/PCI/Access.h index 16a82b0b25..e0e48b8406 100644 --- a/Kernel/Bus/PCI/Access.h +++ b/Kernel/Bus/PCI/Access.h @@ -62,7 +62,6 @@ public: virtual uint32_t segment_count() const = 0; virtual uint8_t segment_start_bus(u32 segment) const = 0; virtual uint8_t segment_end_bus(u32 segment) const = 0; - virtual const char* access_type() const = 0; virtual void write8_field(Address address, u32 field, u8 value) = 0; virtual void write16_field(Address address, u32 field, u16 value) = 0; diff --git a/Kernel/Bus/PCI/IOAccess.h b/Kernel/Bus/PCI/IOAccess.h index 806eba549b..52033e3e6e 100644 --- a/Kernel/Bus/PCI/IOAccess.h +++ b/Kernel/Bus/PCI/IOAccess.h @@ -20,7 +20,6 @@ protected: private: virtual void enumerate_hardware(Function<void(Address, ID)>) override; - virtual const char* access_type() const override { return "IOAccess"; }; virtual uint32_t segment_count() const override { return 1; }; virtual void write8_field(Address address, u32, u8) override final; virtual void write16_field(Address address, u32, u16) override final; diff --git a/Kernel/Bus/PCI/MMIOAccess.h b/Kernel/Bus/PCI/MMIOAccess.h index d804479746..82070e4449 100644 --- a/Kernel/Bus/PCI/MMIOAccess.h +++ b/Kernel/Bus/PCI/MMIOAccess.h @@ -51,7 +51,6 @@ private: protected: explicit MMIOAccess(PhysicalAddress mcfg); - virtual const char* access_type() const override { return "MMIOAccess"; }; virtual u32 segment_count() const override; virtual void enumerate_hardware(Function<void(Address, ID)>) override; virtual void write8_field(Address address, u32, u8) override; diff --git a/Kernel/Bus/PCI/WindowedMMIOAccess.h b/Kernel/Bus/PCI/WindowedMMIOAccess.h index 115407d1fe..d2cbbe0dbd 100644 --- a/Kernel/Bus/PCI/WindowedMMIOAccess.h +++ b/Kernel/Bus/PCI/WindowedMMIOAccess.h @@ -39,7 +39,6 @@ public: private: explicit WindowedMMIOAccess(PhysicalAddress mcfg); - virtual const char* access_type() const override { return "WindowedMMIOAccess"; }; virtual void write8_field(Address address, u32, u8) override; virtual void write16_field(Address address, u32, u16) override; virtual void write32_field(Address address, u32, u32) override; |