From: Leonardo Bras <hidden> Date: 2020-02-15 05:37:25
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 <redacted>
---
arch/powerpc/kernel/cputable.c | 1 -
1 file changed, 1 deletion(-)
From: Michael Neuling <hidden> Date: 2020-02-16 22:34:23
On Sat, 2020-02-15 at 02:36 -0300, 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 <redacted>
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 <redacted>
---
arch/powerpc/kernel/cputable.c | 1 -
1 file changed, 1 deletion(-)
From: Leonardo Bras <hidden> Date: 2020-02-17 14:16:13
On Mon, 2020-02-17 at 09:33 +1100, Michael Neuling wrote:
On Sat, 2020-02-15 at 02:36 -0300, Leonardo Bras wrote:
quoted
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 <redacted>
The action being reduced to a single line, the { } should be removed.
Christophe
I intentionally let it this way because I just reviewed a patch that
will add more itens here, and should be merged before this one.
This will avoid conflicts.
Best regards,
Leonardo Bras
From: Michael Ellerman <hidden> Date: 2020-04-01 12:53:21
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 <redacted>