[PATCH] wait: collapse into one type definition

From: Klemen Jan Enova
Date: Tue Jul 15 2014 - 02:56:47 EST


Signed-off-by: Klemen Jan Enova <klemen.jan.enova@xxxxxxxxx>
---
diff --git a/include/linux/wait.h b/include/linux/wait.h
index bd68819..d5ba4c6 100644
--- a/include/linux/wait.h
+++ b/include/linux/wait.h
@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/