|
@@ -658,14 +658,8 @@ double_lock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2)
|
|
|
static inline void
|
|
|
double_unlock_hb(struct futex_hash_bucket *hb1, struct futex_hash_bucket *hb2)
|
|
|
{
|
|
|
- if (hb1 <= hb2) {
|
|
|
- spin_unlock(&hb2->lock);
|
|
|
- if (hb1 < hb2)
|
|
|
- spin_unlock(&hb1->lock);
|
|
|
- } else { /* hb1 > hb2 */
|
|
|
- spin_unlock(&hb1->lock);
|
|
|
- spin_unlock(&hb2->lock);
|
|
|
- }
|
|
|
+ spin_unlock(&hb1->lock);
|
|
|
+ spin_unlock(&hb2->lock);
|
|
|
}
|
|
|
|
|
|
/*
|