[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <48smMX3rdHz9sTF@ozlabs.org>
Date: Wed, 1 Apr 2020 23:53:12 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Leonardo Bras <leonardo@...ux.ibm.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Christophe Leroy <christophe.leroy@....fr>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Leonardo Bras <leonardo@...ux.ibm.com>,
Thomas Gleixner <tglx@...utronix.de>, desnesn@...ux.ibm.com
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] powerpc/cputable: Remove unnecessary copy of cpu_spec->oprofile_type
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@...ux.ibm.com>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/41b8426fdb59218f56a6e3b3facd43a82816e3eb
cheers
Powered by blists - more mailing lists