treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / kernel / dma-mask.c
blobffbbbc432612674feb475d58e76c247290e4e436
1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/dma-mapping.h>
4 #include <linux/export.h>
5 #include <asm/machdep.h>
7 void arch_dma_set_mask(struct device *dev, u64 dma_mask)
9 if (ppc_md.dma_set_mask)
10 ppc_md.dma_set_mask(dev, dma_mask);
12 EXPORT_SYMBOL(arch_dma_set_mask);