Eliminate unused code.

This commit is contained in:
David Xu 2006-01-16 05:33:48 +00:00
parent 3842ca4db5
commit 1c9db39d88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154422

View File

@ -261,11 +261,6 @@ _mutex_reinit(pthread_mutex_t *mutex)
void
_mutex_fork(struct pthread *curthread)
{
#if 0
TAILQ_INIT(&curthread->mutexq);
TAILQ_INIT(&curthread->pri_mutexq);
curthread->priority_mutex_count = 0;
#else
struct pthread_mutex *m;
/*
@ -273,7 +268,7 @@ _mutex_fork(struct pthread *curthread)
* note that process shared mutex should not
* be inherited because owner is forking thread
* which is in parent process, they should be
* removed from the owned mutex list, current
* removed from the owned mutex list, current,
* process shared mutex is not supported, so I
* am not worried.
*/
@ -287,7 +282,6 @@ _mutex_fork(struct pthread *curthread)
_thr_umtx_init(&m->m_lock);
TAILQ_INIT(&m->m_queue);
}
#endif
}
int