diff --git a/lib/libthr/arch/i386/include/pthread_md.h b/lib/libthr/arch/i386/include/pthread_md.h index 46ab5b6f6a0..95edfa6cc91 100644 --- a/lib/libthr/arch/i386/include/pthread_md.h +++ b/lib/libthr/arch/i386/include/pthread_md.h @@ -86,12 +86,7 @@ void _tcb_dtor(struct tcb *tcb); static __inline void _tcb_set(struct tcb *tcb) { -#ifndef COMPAT_32BIT i386_set_gsbase(tcb); -#else - _amd64_set_gsbase(tcb); -#endif - } /* Get the current kcb. */