diff options
author | Liav A <liavalb@gmail.com> | 2023-04-11 00:40:52 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-04-14 19:20:43 +0200 |
commit | dac7e911e6afa316937f02e9686405347d4ddd0b (patch) | |
tree | eae2011fff80489194eee86fce45be8c6702574e | |
parent | 93fceb1890d5eddc3c14e2adbfed6a6ab03f950e (diff) | |
download | serenity-dac7e911e6afa316937f02e9686405347d4ddd0b.zip |
Kernel/Storage: Remove unused IDEController::initialize() method
-rw-r--r-- | Kernel/Storage/ATA/GenericIDE/Controller.cpp | 5 | ||||
-rw-r--r-- | Kernel/Storage/ATA/GenericIDE/Controller.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Kernel/Storage/ATA/GenericIDE/Controller.cpp b/Kernel/Storage/ATA/GenericIDE/Controller.cpp index bca33dcb4c..33f96007ba 100644 --- a/Kernel/Storage/ATA/GenericIDE/Controller.cpp +++ b/Kernel/Storage/ATA/GenericIDE/Controller.cpp @@ -15,11 +15,6 @@ namespace Kernel { -UNMAP_AFTER_INIT NonnullLockRefPtr<IDEController> IDEController::initialize() -{ - return adopt_lock_ref(*new IDEController()); -} - ErrorOr<void> IDEController::reset() { return Error::from_errno(ENOTIMPL); diff --git a/Kernel/Storage/ATA/GenericIDE/Controller.h b/Kernel/Storage/ATA/GenericIDE/Controller.h index e47d7662b5..59ce472de2 100644 --- a/Kernel/Storage/ATA/GenericIDE/Controller.h +++ b/Kernel/Storage/ATA/GenericIDE/Controller.h @@ -18,7 +18,6 @@ class AsyncBlockDeviceRequest; class IDEChannel; class IDEController : public ATAController { public: - static NonnullLockRefPtr<IDEController> initialize(); virtual ~IDEController() override; virtual LockRefPtr<StorageDevice> device(u32 index) const override final; |