diff options
| author | Leonardo Bras <[email protected]> | 2020-02-15 05:36:37 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-04-01 03:30:51 +0000 |
| commit | 41b8426fdb59218f56a6e3b3facd43a82816e3eb (patch) | |
| tree | ccb2185e3a0063edb1b1af5b201724aedc684ab7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | powerpc: Suppress .eh_frame generation (diff) | |
| download | kernel-41b8426fdb59218f56a6e3b3facd43a82816e3eb.tar.gz kernel-41b8426fdb59218f56a6e3b3facd43a82816e3eb.zip | |
powerpc/cputable: Remove unnecessary copy of cpu_spec->oprofile_type
Before checking for cpu_type == NULL, this same copy happens, so doing
it here will just write the same value to the t->oprofile_type
again.
Remove the repeated copy, as it is unnecessary.
Signed-off-by: Leonardo Bras <[email protected]>
Reviewed-by: Michael Neuling <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
