Skip to content
Snippets Groups Projects
Commit 1764c591 authored by Will Deacon's avatar Will Deacon
Browse files

ARM: perf: remove redundant NULL check on cpu_pmu


cpu_pmu has already been dereferenced before we consider invoking the
->reset function, so remove the redundant NULL check.

Reported-by: default avatarCong Ding <dinggnu@gmail.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 3b953c9c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment