diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-22 12:40:56 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-28 16:54:47 +0300 |
commit | 447d899b18169b2ee5e42b2fa8b32dbb40a30a24 (patch) | |
tree | eb2a29cc3dadb4fdc63c211063b3ad1150f37b07 /include/linux/dma-mapping.h | |
parent | 5860acc1a905b05c14e9ed9e22c20aad1a72554a (diff) | |
download | linux-447d899b18169b2ee5e42b2fa8b32dbb40a30a24.tar.xz |
dma-mapping: remove HAVE_ARCH_DMA_SUPPORTED
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/dma-mapping.h')
-rw-r--r-- | include/linux/dma-mapping.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index a57875309bfd..3e5908656226 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -549,7 +549,6 @@ static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) return 0; } -#ifndef HAVE_ARCH_DMA_SUPPORTED static inline int dma_supported(struct device *dev, u64 mask) { const struct dma_map_ops *ops = get_dma_ops(dev); @@ -560,7 +559,6 @@ static inline int dma_supported(struct device *dev, u64 mask) return 1; return ops->dma_supported(dev, mask); } -#endif #ifndef HAVE_ARCH_DMA_SET_MASK static inline int dma_set_mask(struct device *dev, u64 mask) |