projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3612a7
)
API: remove duplicate syscall check
author
Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
Sun, 11 May 2008 21:13:57 +0000
(23:13 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 11 May 2008 22:23:58 +0000
(
00:23
+0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
api/api.c
patch
|
blob
|
history
diff --git
a/api/api.c
b/api/api.c
index c1b2b60aeb175a339cc090819e6136945f0438af..8be0485bdcfd94f7919f85c57481a07c2de56c11 100644
(file)
--- a/
api/api.c
+++ b/
api/api.c
@@
-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;
}