mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
API: remove duplicate syscall check
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
f3612a7b19
commit
20e5ed1374
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ int syscall(int call, int *retval, ...)
|
|||
va_list ap;
|
||||
int rv;
|
||||
|
||||
if (call < 0 || call >= calls_no || calls_table[call] == NULL) {
|
||||
if (call < 0 || call >= calls_no) {
|
||||
debugf("invalid call #%d\n", call);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue