diff options
author | 2002-10-11 19:08:41 +0000 | |
---|---|---|
committer | 2002-10-11 19:08:41 +0000 | |
commit | 1f4ce5dc7acde00f0b735b78b57ebf272b574373 (patch) | |
tree | 39a633a5cb5d6a23fb36506056df16620fe9644e /lib/libpthread/arch/hppa | |
parent | add two missing ones, correct four others -- noticed by Number Six (diff) | |
download | wireguard-openbsd-1f4ce5dc7acde00f0b735b78b57ebf272b574373.tar.xz wireguard-openbsd-1f4ce5dc7acde00f0b735b78b57ebf272b574373.zip |
remove unused/unreferenced code.
ok fgs@
Diffstat (limited to 'lib/libpthread/arch/hppa')
-rw-r--r-- | lib/libpthread/arch/hppa/_atomic_lock.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libpthread/arch/hppa/_atomic_lock.c b/lib/libpthread/arch/hppa/_atomic_lock.c index be47bb99afa..9882303e388 100644 --- a/lib/libpthread/arch/hppa/_atomic_lock.c +++ b/lib/libpthread/arch/hppa/_atomic_lock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _atomic_lock.c,v 1.1 1998/12/21 22:54:55 mickey Exp $ */ +/* $OpenBSD: _atomic_lock.c,v 1.2 2002/10/11 19:08:41 marc Exp $ */ /* * Atomic lock for hppa */ @@ -13,9 +13,3 @@ _atomic_lock(volatile register_t *lock) return (old == _SPINLOCK_LOCKED); } - -int -_atomic_is_locked(volatile register_t *lock) -{ - return (*lock == _SPINLOCK_LOCKED); -} |