1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

API: remove duplicate syscall check

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD
2008-05-11 23:13:57 +02:00
committed by Wolfgang Denk
parent f3612a7b19
commit 20e5ed1374

View File

@@ -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;
}