summaryrefslogtreecommitdiff
path: root/Kernel/Storage/StorageDevice.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-10-02 16:27:43 -0700
committerAndreas Kling <kling@serenityos.org>2021-10-03 13:36:10 +0200
commit54a2aaaa6f55c43e16790bd470e023bbd1c46f8f (patch)
tree2df9fd5de73a14467cd5e56105628b1dd523b8d8 /Kernel/Storage/StorageDevice.cpp
parent70ad18fbcda87ac8305d50edd9e1a85d9b461c8f (diff)
downloadserenity-54a2aaaa6f55c43e16790bd470e023bbd1c46f8f.zip
Kernel: Remove now unused StorageDevice constructor
Diffstat (limited to 'Kernel/Storage/StorageDevice.cpp')
-rw-r--r--Kernel/Storage/StorageDevice.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/Kernel/Storage/StorageDevice.cpp b/Kernel/Storage/StorageDevice.cpp
index a012f54fa2..c92d24e829 100644
--- a/Kernel/Storage/StorageDevice.cpp
+++ b/Kernel/Storage/StorageDevice.cpp
@@ -13,14 +13,6 @@
namespace Kernel {
-StorageDevice::StorageDevice(const StorageController& controller, size_t sector_size, u64 max_addressable_block, NonnullOwnPtr<KString> device_name)
- : BlockDevice(StorageManagement::major_number(), StorageManagement::minor_number(), sector_size)
- , m_storage_controller(controller)
- , m_device_name(move(device_name))
- , m_max_addressable_block(max_addressable_block)
-{
-}
-
StorageDevice::StorageDevice(const StorageController& controller, int major, int minor, size_t sector_size, u64 max_addressable_block, NonnullOwnPtr<KString> device_name)
: BlockDevice(major, minor, sector_size)
, m_storage_controller(controller)