summaryrefslogtreecommitdiff
path: root/lib/libpthread/arch/vax/_atomic_lock.c
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2002-10-11 19:08:42 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2002-10-11 19:08:42 +0000
commitc816df77cc0c7069e075e3cfc9e56b8e45f11eab (patch)
tree045a592a11da5ea06ea8423e7bb4631d70c8b17f /lib/libpthread/arch/vax/_atomic_lock.c
parenta505f0baf2f6f87806f2148c8ba3ac08b6abdf79 (diff)
remove unused/unreferenced code.
ok fgs@
Diffstat (limited to 'lib/libpthread/arch/vax/_atomic_lock.c')
-rw-r--r--lib/libpthread/arch/vax/_atomic_lock.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libpthread/arch/vax/_atomic_lock.c b/lib/libpthread/arch/vax/_atomic_lock.c
index 22f95ffe38c..aedbb86c1dd 100644
--- a/lib/libpthread/arch/vax/_atomic_lock.c
+++ b/lib/libpthread/arch/vax/_atomic_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: _atomic_lock.c,v 1.1 2001/01/27 21:23:56 hugh Exp $ */
+/* $OpenBSD: _atomic_lock.c,v 1.2 2002/10/11 19:08:41 marc Exp $ */
/*
* Atomic lock for vax
@@ -11,10 +11,3 @@ _atomic_lock(volatile _spinlock_lock_t *lock)
{
return (_thread_slow_atomic_lock(lock));
}
-
-int
-_atomic_is_locked(volatile _spinlock_lock_t *lock)
-{
-
- return (*lock != _SPINLOCK_UNLOCKED);
-}