commit | ffaed16fa783b03c469893fe87a53eb67fb56c93 | [log] [tgz] |
---|---|---|
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | Sun May 11 23:13:57 2008 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Mon May 12 00:23:58 2008 +0200 |
tree | b6906541505d580ce5435341383a50660799343e | |
parent | 1b3274f8e54bba729ab59dd2101dd316e1560fcf [diff] |
API: remove duplicate syscall check Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
diff --git a/api/api.c b/api/api.c index c1b2b60..8be0485b 100644 --- a/api/api.c +++ b/api/api.c
@@ -582,7 +582,7 @@ 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; }