plist: Remove the need to supply locks to plist heads
[linux-2.6-block.git] / kernel / futex.c
index fe28dc282eae43af920d2937e8f9c5dc631ffa43..3fbc76cbb9aa77621b91f6b351bec811472f4fe5 100644 (file)
@@ -2697,7 +2697,7 @@ static int __init futex_init(void)
                futex_cmpxchg_enabled = 1;
 
        for (i = 0; i < ARRAY_SIZE(futex_queues); i++) {
-               plist_head_init(&futex_queues[i].chain, &futex_queues[i].lock);
+               plist_head_init(&futex_queues[i].chain);
                spin_lock_init(&futex_queues[i].lock);
        }