treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / m68k / include / asm / flat.h
blob46379e08cdd6023c7bb08306a0b7a16f44f37666
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * flat.h -- uClinux flat-format executables
4 */
6 #ifndef __M68KNOMMU_FLAT_H__
7 #define __M68KNOMMU_FLAT_H__
9 #include <asm-generic/flat.h>
11 #define FLAT_PLAT_INIT(regs) \
12 do { \
13 if (current->mm) \
14 (regs)->d5 = current->mm->start_data; \
15 } while (0)
17 #endif /* __M68KNOMMU_FLAT_H__ */