summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorLeonardo Bras <leonardo@linux.ibm.com>2020-02-15 02:36:37 -0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-04-01 14:30:51 +1100
commit41b8426fdb59218f56a6e3b3facd43a82816e3eb (patch)
treeccb2185e3a0063edb1b1af5b201724aedc684ab7 /drivers/pci
parentba96301ce9be7925cdaee677b1a2ff8eddba9fd4 (diff)
downloadlinux-41b8426fdb59218f56a6e3b3facd43a82816e3eb.tar.bz2
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 <leonardo@linux.ibm.com> Reviewed-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200215053637.280880-1-leonardo@linux.ibm.com
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions