sched/topology: remove duplicate include header in topology.c
PATCH 1/1 sched/topology: remove duplicate include header in topology.c
From: Ye Xingchen <[email protected]>
linux/bsearch.h is included more than once.
Signed-off-by Ye Xingchen <[email protected]>
--- kernel/sched/topology.c | 1 - 1 file changed, 1 deletion(-)
kernel/sched/topology.c +0 -1
@@ -1766,7 +1766,6 @@ bool find_numa_distance(int distance)* there is an intermediary node C, which is < N hops away from both * nodes A and B, the system is a glueless mesh. */ -#include <linux/bsearch.h> static void init_numa_topology_type (int offline_node) {
Signature · 1 line
2.25.1
Valentin Schneider
reviewerQuoted 14 lines · On 09/02/23 15:12, [email protected] wrote:
From: Ye Xingchen <[email protected]>
linux/bsearch.his included more than once.Signed-off-by Ye Xingchen <[email protected]>--- kernel/sched/topology.c | 1 - 1 file changed, 1 deletion(-)kernel/sched/topology.c +0
-0
kernel/sched/topology.c bool find_numa_distance(int distance) · line 1769
Quoted 5 lines
kernel/sched/topology.c +0
-1@@ -1766,7 +1766,6 @@ bool find_numa_distance(int distance)* there is an intermediary node C, which is < N hops away from both * nodes A and B, the system is a glueless mesh. */ -#include <linux/bsearch.h>
This doesn't exist upstream, and I can't find any proof of it ever existing in the git history, so I don't think you're working on an upstream tree.
Quoted 4 lines
kernel/sched/topology.c +0
-1static void init_numa_topology_type (int offline_node) { --2.25.1