mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 15:17:45 +00:00
Kernel: Remove now unused StorageDevice constructor
This commit is contained in:
parent
70ad18fbcd
commit
54a2aaaa6f
2 changed files with 0 additions and 9 deletions
|
@ -13,14 +13,6 @@
|
||||||
|
|
||||||
namespace Kernel {
|
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)
|
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)
|
: BlockDevice(major, minor, sector_size)
|
||||||
, m_storage_controller(controller)
|
, m_storage_controller(controller)
|
||||||
|
|
|
@ -34,7 +34,6 @@ public:
|
||||||
NonnullRefPtrVector<DiskPartition> partitions() const { return m_partitions; }
|
NonnullRefPtrVector<DiskPartition> partitions() const { return m_partitions; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
StorageDevice(const StorageController&, size_t, u64, NonnullOwnPtr<KString>);
|
|
||||||
StorageDevice(const StorageController&, int, int, size_t, u64, NonnullOwnPtr<KString>);
|
StorageDevice(const StorageController&, int, int, size_t, u64, NonnullOwnPtr<KString>);
|
||||||
// ^DiskDevice
|
// ^DiskDevice
|
||||||
virtual StringView class_name() const override;
|
virtual StringView class_name() const override;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue