commit | 1764c591dfed2ce7075465df0591ce9564ff37a1 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Mon Jan 14 17:27:35 2013 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Mon Jan 14 17:40:38 2013 +0000 |
tree | a53fa2445b51ff89367d1e2c65dbf2003141e3a8 | |
parent | 3b953c9c159e99f5465dc05dc90ca405fe9a4436 [diff] |
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: Cong Ding <dinggnu@gmail.com> Signed-off-by: Will Deacon <will.deacon@arm.com>