treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / alpha / include / asm / dma-mapping.h
blob0ee6a5c99b16b555a85eafd156d9e252374b4117
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ALPHA_DMA_MAPPING_H
3 #define _ALPHA_DMA_MAPPING_H
5 extern const struct dma_map_ops alpha_pci_ops;
7 static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
9 #ifdef CONFIG_ALPHA_JENSEN
10 return NULL;
11 #else
12 return &alpha_pci_ops;
13 #endif
16 #endif /* _ALPHA_DMA_MAPPING_H */