[PATCH 1/1] powerpc/cputable: Remove unnecessary copy of cpu_spec->oprofile_type

Michael Ellerman patch-notifications at ellerman.id.au
Wed Apr 1 23:53:12 AEDT 2020


On Sat, 2020-02-15 at 05:36:37 UTC, Leonardo Bras wrote:
> 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 at linux.ibm.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/41b8426fdb59218f56a6e3b3facd43a82816e3eb

cheers


More information about the Linuxppc-dev mailing list