]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf pmu: fix duplicate conditional statement
authorAnubhav Shelat <ashelat@redhat.com>
Tue, 25 Nov 2025 11:41:18 +0000 (11:41 +0000)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 26 Nov 2025 17:57:13 +0000 (09:57 -0800)
commit87c75fa75559f5501b5a03caf442f18899e388be
tree8d5f266b54d86538f676798976ce0a76596ba470
parent5accdaec526ed8708ec64cf027a5e75aa83eb504
perf pmu: fix duplicate conditional statement

Remove duplicate check for PERF_PMU_TYPE_DRM_END in perf_pmu__kind.

Fixes: f0feb21e0a10 ("perf pmu: Add PMU kind to simplify differentiating")
Signed-off-by: Anubhav Shelat <ashelat@redhat.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Closes: https://lore.kernel.org/linux-perf-users/CA+G8Dh+wLx+FvjjoEkypqvXhbzWEQVpykovzrsHi2_eQjHkzQA@mail.gmail.com/
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/pmu.h