Commit efa76afd authored by Petr Tesarik's avatar Petr Tesarik Committed by Christoph Hellwig

swiotlb: remove unused field "used" from struct io_tlb_mem

Commit 20347fca ("swiotlb: split up the global swiotlb lock") moved
the number of used slots to struct io_tlb_area, but it did not remove
the field from struct io_tlb_mem.
Signed-off-by: default avatarPetr Tesarik <petr.tesarik.ext@huawei.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 51ff97d5
...@@ -76,7 +76,6 @@ dma_addr_t swiotlb_map(struct device *dev, phys_addr_t phys, ...@@ -76,7 +76,6 @@ dma_addr_t swiotlb_map(struct device *dev, phys_addr_t phys,
* @nslabs: The number of IO TLB blocks (in groups of 64) between @start and * @nslabs: The number of IO TLB blocks (in groups of 64) between @start and
* @end. For default swiotlb, this is command line adjustable via * @end. For default swiotlb, this is command line adjustable via
* setup_io_tlb_npages. * setup_io_tlb_npages.
* @used: The number of used IO TLB block.
* @list: The free list describing the number of free entries available * @list: The free list describing the number of free entries available
* from each index. * from each index.
* @orig_addr: The original address corresponding to a mapped entry. * @orig_addr: The original address corresponding to a mapped entry.
...@@ -98,7 +97,6 @@ struct io_tlb_mem { ...@@ -98,7 +97,6 @@ struct io_tlb_mem {
phys_addr_t end; phys_addr_t end;
void *vaddr; void *vaddr;
unsigned long nslabs; unsigned long nslabs;
unsigned long used;
struct dentry *debugfs; struct dentry *debugfs;
bool late_alloc; bool late_alloc;
bool force_bounce; bool force_bounce;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment