[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220622142952.320057-1-steven.price@arm.com>
Date: Wed, 22 Jun 2022 15:29:52 +0100
From: Steven Price <steven.price@....com>
To: Christoph Hellwig <hch@....de>
Cc: Steven Price <steven.price@....com>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Subject: [PATCH] swiotlb: Remove redundant swiotlb_force
The variable (and enum) was removed in commit c6af2aa9ffc9 ("swiotlb:
make the swiotlb_init interface more useful") but the declaration was
left in swiotlb.h. Tidy up by removing the declaration as well.
Signed-off-by: Steven Price <steven.price@....com>
---
include/linux/swiotlb.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h
index 7ed35dd3de6e..b1f5ace37502 100644
--- a/include/linux/swiotlb.h
+++ b/include/linux/swiotlb.h
@@ -60,8 +60,6 @@ dma_addr_t swiotlb_map(struct device *dev, phys_addr_t phys,
size_t size, enum dma_data_direction dir, unsigned long attrs);
#ifdef CONFIG_SWIOTLB
-extern enum swiotlb_force swiotlb_force;
-
/**
* struct io_tlb_mem - IO TLB Memory Pool Descriptor
*
--
2.25.1
Powered by blists - more mailing lists