From c09df63bb90336c26efa9ee113fdf8d52f97b9ff Mon Sep 17 00:00:00 2001 From: David Xu Date: Sat, 29 Oct 2005 13:40:31 +0000 Subject: [PATCH] Remove unused variable. Reviewed by: cognet --- lib/libthr/arch/arm/arm/pthread_md.c | 4 ---- lib/libthr/arch/arm/include/pthread_md.h | 5 ----- 2 files changed, 9 deletions(-) diff --git a/lib/libthr/arch/arm/arm/pthread_md.c b/lib/libthr/arch/arm/arm/pthread_md.c index 69cf57ed519c..7ca2b25dcf9c 100644 --- a/lib/libthr/arch/arm/arm/pthread_md.c +++ b/lib/libthr/arch/arm/arm/pthread_md.c @@ -32,10 +32,6 @@ #include "pthread_md.h" -struct umtx arm_umtx = { - .u_owner = UMTX_UNOWNED -}; - struct tcb * _tcb_ctor(struct pthread *thread, int initial) { diff --git a/lib/libthr/arch/arm/include/pthread_md.h b/lib/libthr/arch/arm/include/pthread_md.h index d9deff942dc4..30f9f864cf64 100644 --- a/lib/libthr/arch/arm/include/pthread_md.h +++ b/lib/libthr/arch/arm/include/pthread_md.h @@ -35,9 +35,6 @@ #include #include #include -#include - -#include #define DTV_OFFSET offsetof(struct tcb, tcb_dtv) @@ -83,6 +80,4 @@ _get_curthread(void) return (NULL); } -extern struct umtx arm_umtx; - #endif /* _PTHREAD_MD_H_ */