aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dma-mapping.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-11 09:29:50 +0200
committerChristoph Hellwig <hch@lst.de>2020-09-25 06:12:15 +0200
commit7ae10eb903d6ed9b3069fe1dc175b36d86667d09 (patch)
tree99c2d92956da65c1c9dee9afddcaad8758147a89 /include/linux/dma-mapping.h
parentiommu/io-pgtable-arm: Clean up faulty sanity check (diff)
downloadlinux-dev-7ae10eb903d6ed9b3069fe1dc175b36d86667d09.tar.xz
linux-dev-7ae10eb903d6ed9b3069fe1dc175b36d86667d09.zip
dma-mapping: remove DMA_MASK_NONE
This value is only used by a PCMCIA driver and not very useful. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Dominik Brodowski <linux@dominikbrodwski.net>
Diffstat (limited to 'include/linux/dma-mapping.h')
-rw-r--r--include/linux/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index bb138ac6f5e6..e074588d753f 100644
--- a/include/linux/dma-mapping.h
+++ b/include/linux/dma-mapping.h
@@ -138,8 +138,6 @@ extern const struct dma_map_ops dma_dummy_ops;
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
-#define DMA_MASK_NONE 0x0ULL
-
static inline int valid_dma_direction(int dma_direction)
{
return ((dma_direction == DMA_BIDIRECTIONAL) ||