diff options
| author | Robin Murphy <robin.murphy@arm.com> | 2018-12-10 09:00:32 -0500 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2018-12-11 08:32:13 -0500 |
| commit | 0cb0e25e421436a83ee39857923e4213b983e463 (patch) | |
| tree | 3dbd76ab5d9d32e9a0ff32f9c3828cea2610f0bc /include/linux/dma-debug.h | |
| parent | a8a4c98fc9ac84ee9e068fbb16210d2ab8cfefe0 (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.h | 7 |
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 | ||
| 31 | extern void dma_debug_add_bus(struct bus_type *bus); | 31 | extern void dma_debug_add_bus(struct bus_type *bus); |
| 32 | 32 | ||
| 33 | extern int dma_debug_resize_entries(u32 num_entries); | ||
| 34 | |||
| 35 | extern void debug_dma_map_single(struct device *dev, const void *addr, | 33 | extern 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 | ||
| 104 | static inline int dma_debug_resize_entries(u32 num_entries) | ||
| 105 | { | ||
| 106 | return 0; | ||
| 107 | } | ||
| 108 | |||
| 109 | static inline void debug_dma_map_single(struct device *dev, const void *addr, | 102 | static inline void debug_dma_map_single(struct device *dev, const void *addr, |
| 110 | unsigned long len) | 103 | unsigned long len) |
| 111 | { | 104 | { |
