wait: collapse into one type definition
PATCH 1/1 wait: collapse into one type definition
Signed-off-by Klemen Jan Enova <[email protected]>
---
include/linux/wait.h +2 -3
@@ -32,11 +32,10 @@ struct wait_bit_queue {wait_queue_t wait; }; -struct __wait_queue_head { +typedef struct {spinlock_t lock;struct list_head task_list; -}; -typedef struct __wait_queue_head wait_queue_head_t ; +}wait_queue_head_t ;struct task_struct ;