aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD2008-05-11 16:13:57 -0500
committerWolfgang Denk2008-05-11 17:23:58 -0500
commit20e5ed137483823aaea5178169f3b144c7a4d9e0 (patch)
treeb6906541505d580ce5435341383a50660799343e /api
parentf3612a7b199cab3942f60d9c1392eb39d58cc699 (diff)
downloadu-boot-20e5ed137483823aaea5178169f3b144c7a4d9e0.tar.gz
u-boot-20e5ed137483823aaea5178169f3b144c7a4d9e0.tar.xz
u-boot-20e5ed137483823aaea5178169f3b144c7a4d9e0.zip
API: remove duplicate syscall check
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'api')
-rw-r--r--api/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.c b/api/api.c
index c1b2b60aeb..8be0485bdc 100644
--- a/api/api.c
+++ b/api/api.c
@@ -582,7 +582,7 @@ int syscall(int call, int *retval, ...)
582 va_list ap; 582 va_list ap;
583 int rv; 583 int rv;
584 584
585 if (call < 0 || call >= calls_no || calls_table[call] == NULL) { 585 if (call < 0 || call >= calls_no) {
586 debugf("invalid call #%d\n", call); 586 debugf("invalid call #%d\n", call);
587 return 0; 587 return 0;
588 } 588 }