dma-mapping: consolidate dma_supported
[pandora-kernel.git] / arch / sh / include / asm / dma-mapping.h
index 98308c4..088f6e5 100644 (file)
@@ -13,16 +13,6 @@ static inline struct dma_map_ops *get_dma_ops(struct device *dev)
 
 #include <asm-generic/dma-mapping-common.h>
 
-static inline int dma_supported(struct device *dev, u64 mask)
-{
-       struct dma_map_ops *ops = get_dma_ops(dev);
-
-       if (ops->dma_supported)
-               return ops->dma_supported(dev, mask);
-
-       return 1;
-}
-
 static inline int dma_set_mask(struct device *dev, u64 mask)
 {
        struct dma_map_ops *ops = get_dma_ops(dev);