Skip to content

Commit ff1a39c

Browse files
visitorckwakpm00
authored andcommitted
tools/lib/list_sort: remove unnecessary header includes
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. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kuan-Wei Chiu <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Ching-Chun (Jim) Huang <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: "Liang, Kan" <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 908ef9b commit ff1a39c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/lib/list_sort.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
#include <linux/kernel.h>
32
#include <linux/compiler.h>
43
#include <linux/export.h>
5-
#include <linux/string.h>
64
#include <linux/list_sort.h>
75
#include <linux/list.h>
86

0 commit comments

Comments
 (0)