mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-26 08:31:28 +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;
|
va_list ap;
|
||||||
int rv;
|
int rv;
|
||||||
|
|
||||||
if (call < 0 || call >= calls_no || calls_table[call] == NULL) {
|
if (call < 0 || call >= calls_no) {
|
||||||
debugf("invalid call #%d\n", call);
|
debugf("invalid call #%d\n", call);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue