diff options
| author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-05-11 23:13:57 +0200 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-05-12 00:23:58 +0200 | 
| commit | 20e5ed137483823aaea5178169f3b144c7a4d9e0 (patch) | |
| tree | b6906541505d580ce5435341383a50660799343e /api | |
| parent | f3612a7b199cab3942f60d9c1392eb39d58cc699 (diff) | |
| download | olio-uboot-2014.01-20e5ed137483823aaea5178169f3b144c7a4d9e0.tar.xz olio-uboot-2014.01-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.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -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;  	} |