aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dma-debug.h
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2018-12-10 09:00:32 -0500
committerChristoph Hellwig <hch@lst.de>2018-12-11 08:32:13 -0500
commit0cb0e25e421436a83ee39857923e4213b983e463 (patch)
tree3dbd76ab5d9d32e9a0ff32f9c3828cea2610f0bc /include/linux/dma-debug.h
parenta8a4c98fc9ac84ee9e068fbb16210d2ab8cfefe0 (diff)
dma/debug: Remove dma_debug_resize_entries()
With the only caller now gone, we can clean up this part of dma-debug's exposed internals and make way to tweak the allocation behaviour. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Tested-by: Qian Cai <cai@lca.pw> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/dma-debug.h')
-rw-r--r--include/linux/dma-debug.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/dma-debug.h b/include/linux/dma-debug.h
index 30213adbb6b9..46e6131a72b6 100644
--- a/include/linux/dma-debug.h
+++ b/include/linux/dma-debug.h
@@ -30,8 +30,6 @@ struct bus_type;
30 30
31extern void dma_debug_add_bus(struct bus_type *bus); 31extern void dma_debug_add_bus(struct bus_type *bus);
32 32
33extern int dma_debug_resize_entries(u32 num_entries);
34
35extern void debug_dma_map_single(struct device *dev, const void *addr, 33extern void debug_dma_map_single(struct device *dev, const void *addr,
36 unsigned long len); 34 unsigned long len);
37 35
@@ -101,11 +99,6 @@ static inline void dma_debug_add_bus(struct bus_type *bus)
101{ 99{
102} 100}
103 101
104static inline int dma_debug_resize_entries(u32 num_entries)
105{
106 return 0;
107}
108
109static inline void debug_dma_map_single(struct device *dev, const void *addr, 102static inline void debug_dma_map_single(struct device *dev, const void *addr,
110 unsigned long len) 103 unsigned long len)
111{ 104{