summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2023-04-11 00:40:52 +0300
committerLinus Groh <mail@linusgroh.de>2023-04-14 19:20:43 +0200
commitdac7e911e6afa316937f02e9686405347d4ddd0b (patch)
treeeae2011fff80489194eee86fce45be8c6702574e
parent93fceb1890d5eddc3c14e2adbfed6a6ab03f950e (diff)
downloadserenity-dac7e911e6afa316937f02e9686405347d4ddd0b.zip
Kernel/Storage: Remove unused IDEController::initialize() method
-rw-r--r--Kernel/Storage/ATA/GenericIDE/Controller.cpp5
-rw-r--r--Kernel/Storage/ATA/GenericIDE/Controller.h1
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;