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

Message ID 20230730075819.39410-1-suijingfeng@loongson.cn
State New
Headers
Series linux/list.h: Adjust coding style of the __list_del() |

Commit Message

Sui Jingfeng July 30, 2023, 7:58 a.m. UTC
  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(-)
  

Patch

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);