summaryrefslogtreecommitdiff
path: root/linux/six.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/six.c')
-rw-r--r--linux/six.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/six.c b/linux/six.c
index c4ae4e0d..fca12087 100644
--- a/linux/six.c
+++ b/linux/six.c
@@ -142,8 +142,6 @@ static __always_inline bool do_six_trylock_type(struct six_lock *lock,
union six_lock_state old, new;
bool ret;
u64 v;
- old.v = 0;
- new.v = 0;
EBUG_ON(type == SIX_LOCK_write && lock->owner != current);
EBUG_ON(type == SIX_LOCK_write && (lock->state.seq & 1));