Skip to contentSkip to conversation

tools-lib-list_sort-remove-unnecessary-header-includes.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Nov 6, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: tools/lib/list_sort: remove unnecessary header includes
has been removed from the -mm tree. Its filename was
tools-lib-list_sort-remove-unnecessary-header-includes.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Kuan-Wei Chiu <[email protected]>
Subject: tools/lib/list_sort: remove unnecessary header includes
Date: Sat, 12 Oct 2024 12:28:27 +0800

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.

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]>

---

 tools/lib/list_sort.c |    2 --
 1 file changed, 2 deletions(-)
tools/lib/list_sort.c renamed from tools/lib/list_sort.c~tools-lib-list_sort-remove-unnecessary-header-includes +0 -2
@@ -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>
 

_

Patches currently in -mm which might be from [email protected] are