treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / nds32 / kernel / syscall_table.c
blob7879c061b87f21fecca5d54a68444c8ae5659667
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2005-2017 Andes Technology Corporation
4 #include <linux/syscalls.h>
5 #include <linux/signal.h>
6 #include <linux/unistd.h>
7 #include <asm/syscalls.h>
9 #undef __SYSCALL
10 #define __SYSCALL(nr, call) [nr] = (call),
12 #define sys_rt_sigreturn sys_rt_sigreturn_wrapper
13 #define sys_fadvise64_64 sys_fadvise64_64_wrapper
14 void *sys_call_table[__NR_syscalls] __aligned(8192) = {
15 [0 ... __NR_syscalls - 1] = sys_ni_syscall,
16 #include <asm/unistd.h>