[PATCH 2/3] tools/lib/list_sort: Remove unnecessary header includes
From: Kuan-Wei Chiu
Date: Sat Oct 12 2024 - 00:29:15 EST
Since lib/list_sort.c no longer requires ARRAY_SIZE() and memset(), the
includes for kernel.h, bug.h, and string.h have been removed.
Similarly, tools/lib/list_sort.c also does not need to include these
headers, so they have been removed as well.
Signed-off-by: Kuan-Wei Chiu <visitorckw@xxxxxxxxx>
---
tools/lib/list_sort.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/lib/list_sort.c b/tools/lib/list_sort.c
index 69affa251fa7..bb99e493dcd1 100644
--- a/tools/lib/list_sort.c
+++ b/tools/lib/list_sort.c
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
-#include <linux/kernel.h>
#include <linux/compiler.h>
#include <linux/export.h>
-#include <linux/string.h>
#include <linux/list_sort.h>
#include <linux/list.h>
--
2.34.1