treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / include / asm / mach-malta / malta-dtshim.h
blob7c97b710121da4e5ad5e1655070bf18b85968f64
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright (C) 2015 Imagination Technologies
4 * Author: Paul Burton <paul.burton@mips.com>
5 */
7 #ifndef __MIPS_MALTA_DTSHIM_H__
8 #define __MIPS_MALTA_DTSHIM_H__
10 #include <linux/init.h>
12 #ifdef CONFIG_MIPS_MALTA
14 extern void __init *malta_dt_shim(void *fdt);
16 #else /* !CONFIG_MIPS_MALTA */
18 static inline void *malta_dt_shim(void *fdt)
20 return fdt;
23 #endif /* !CONFIG_MIPS_MALTA */
25 #endif /* __MIPS_MALTA_DTSHIM_H__ */