treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / powerpc / include / asm / rio.h
blob0e57cda2a64cb96ee428b5e1dec31a6880b61f56
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * RapidIO architecture support
5 * Copyright 2005 MontaVista Software, Inc.
6 * Matt Porter <mporter@kernel.crashing.org>
7 */
9 #ifndef ASM_PPC_RIO_H
10 #define ASM_PPC_RIO_H
12 #ifdef CONFIG_FSL_RIO
13 extern int fsl_rio_mcheck_exception(struct pt_regs *);
14 #else
15 static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; }
16 #endif
18 #endif /* ASM_PPC_RIO_H */