linux/arch/x86/events
Jiri Slaby (SUSE) a24074ca88 perf/x86/intel/uncore: Remove superfluous check
The 'pmu' pointer cannot be NULL, as it is taken as a pointer to an array.
Remove the superfluous NULL check.

Found by Coverity: CID#1497507.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Liang Kan <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://patch.msgid.link/20251119091538.825307-1-jirislaby@kernel.org
History 2025-11-19 10:26:31 +01:00
..
amd Core x86 updates for v6.16: 2025-05-26 16:04:17 -07:00
intel perf/x86/intel/uncore: Remove superfluous check 2025-11-19 10:26:31 +01:00
zhaoxin Core x86 updates for v6.16: 2025-05-26 16:04:17 -07:00
core.c Revert "perf/x86: Always store regs->ip in perf_callchain_kernel()" 2025-11-05 17:05:19 -08:00
Kconfig perf/x86/Kconfig: Fix indentation in the Kconfig file 2022-05-25 15:54:26 +02:00
Makefile perf/x86: Move branch classifier 2022-08-27 00:05:44 +02:00
msr.c x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
perf_event.h Core x86 updates for v6.16: 2025-05-26 16:04:17 -07:00
perf_event_flags.h perf: Extend the bit width of the arch-specific flag 2025-04-08 20:55:49 +02:00
probe.c x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
probe.h perf/x86/rapl: Add msr mask support 2021-02-10 14:44:54 +01:00
rapl.c x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00
utils.c x86/msr: Add explicit includes of <asm/msr.h> 2025-05-02 10:23:47 +02:00