From e89510b1524b5bb600beaf8a1f13e375635ba33e Mon Sep 17 00:00:00 2001 From: David Xu Date: Wed, 2 Nov 2005 14:06:29 +0000 Subject: [PATCH] Remove a redundant _get_curthread() call. --- lib/libthr/thread/thr_syscalls.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/libthr/thread/thr_syscalls.c b/lib/libthr/thread/thr_syscalls.c index c332861341a9..fec3dbae9eb8 100644 --- a/lib/libthr/thread/thr_syscalls.c +++ b/lib/libthr/thread/thr_syscalls.c @@ -160,7 +160,6 @@ __connect(int fd, const struct sockaddr *name, socklen_t namelen) int oldcancel; int ret; - curthread = _get_curthread(); oldcancel = _thr_cancel_enter(curthread); ret = __sys_connect(fd, name, namelen); _thr_cancel_leave(curthread, oldcancel);