[PATCH] linux/list.h: Adjust coding style of the __list_del()

Sui Jingfeng posted 1 patch 2 years, 6 months ago
include/linux/list.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] linux/list.h: Adjust coding style of the __list_del()
Posted by Sui Jingfeng 2 years, 6 months ago
To make it consistent with the rest of the source code,
Also because "foo * bar" should be "foo *bar".

Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
---
 include/linux/list.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/list.h b/include/linux/list.h
index f10344dbad4d..09404cc89a34 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -109,7 +109,7 @@ static inline void list_add_tail(struct list_head *new, struct list_head *head)
  * This is only for internal list manipulation where we know
  * the prev/next entries already!
  */
-static inline void __list_del(struct list_head * prev, struct list_head * next)
+static inline void __list_del(struct list_head *prev, struct list_head *next)
 {
 	next->prev = prev;
 	WRITE_ONCE(prev->next, next);
-- 
2.34.1