Skip to contentSkip to conversation

API: remove duplicate syscall check

PATCH New Jean-Christophe PLAGNIOL-VILLARD 2 participants 2 messages May 11, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 API: remove duplicate syscall check

---
 api/api.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
api/api.c +1 -1
index c1b2b60..8be0485 100644
@@ -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;
 	}
Signature · 1 line
1.5.5.1
#1 lore raw

PATCH 1/1 API: remove duplicate syscall check

Quoted 4 lines · In message <[email protected]> you wrote:
---
 api/api.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Computers are not intelligent.  They only think they are.