]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
perf: Remove redundant kernel.h include
authorLeo Yan <leo.yan@arm.com>
Fri, 23 Jan 2026 13:32:04 +0000 (13:32 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 28 Jan 2026 18:18:44 +0000 (15:18 -0300)
Now that the bitfield dependency is resolved, the explicit inclusion of
kernel.h is no longer needed.

Remove the redundant include.

Signed-off-by: Leo Yan <leo.yan@arm.com>
Cc: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm64/util/header.c
tools/perf/util/cs-etm.c

index f445a2dd6293442645404d7c42c3f7a2992bd9c9..cbc0ba101636bf275101385c662f5f3881c8f7c4 100644 (file)
@@ -1,4 +1,3 @@
-#include <linux/kernel.h>
 #include <linux/bits.h>
 #include <linux/bitfield.h>
 #include <stdio.h>
index 12b55c2bc2ca4f5d7df6b26ddbffc18b7904800e..95f439c96180d354f2bc08356a844c1a79d5a148 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Mathieu Poirier <mathieu.poirier@linaro.org>
  */
 
-#include <linux/kernel.h>
 #include <linux/bitfield.h>
 #include <linux/bitops.h>
 #include <linux/coresight-pmu.h>