mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
Kernel: Remove unused AHCIPort::ScatterList::m_device_block_size.
This commit is contained in:
parent
ecb0ae9c33
commit
37be679d6e
Notes:
sideshowbarker
2024-07-18 21:04:34 +09:00
Author: https://github.com/mhermier 🔰 Commit: https://github.com/SerenityOS/serenity/commit/37be679d6e0 Pull-request: https://github.com/SerenityOS/serenity/pull/5946
2 changed files with 0 additions and 2 deletions
|
@ -43,7 +43,6 @@ NonnullRefPtr<AHCIPort::ScatterList> AHCIPort::ScatterList::create(AsyncBlockDev
|
|||
|
||||
AHCIPort::ScatterList::ScatterList(AsyncBlockDeviceRequest& request, NonnullRefPtrVector<PhysicalPage> allocated_pages, size_t device_block_size)
|
||||
: m_vm_object(AnonymousVMObject::create_with_physical_pages(allocated_pages))
|
||||
, m_device_block_size(device_block_size)
|
||||
{
|
||||
m_dma_region = MM.allocate_kernel_region_with_vmobject(m_vm_object, page_round_up((request.block_count() * device_block_size)), "AHCI Scattered DMA", Region::Access::Read | Region::Access::Write, Region::Cacheable::Yes);
|
||||
}
|
||||
|
|
|
@ -63,7 +63,6 @@ private:
|
|||
private:
|
||||
ScatterList(AsyncBlockDeviceRequest&, NonnullRefPtrVector<PhysicalPage> allocated_pages, size_t device_block_size);
|
||||
NonnullRefPtr<AnonymousVMObject> m_vm_object;
|
||||
size_t m_device_block_size;
|
||||
OwnPtr<Region> m_dma_region;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue