[PATCH] arm64: perf: Remove redundant initialization in perf_event.c

2021-04-01 Thread Qi Liu
The initialization of value in function armv8pmu_read_hw_counter() and armv8pmu_read_counter() seem redundant, as they are soon updated. So, We can remove them. Signed-off-by: Qi Liu --- arch/arm64/kernel/perf_event.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/

Re: [PATCH] arm64: perf: Remove redundant initialization in perf_event.c

2021-04-01 Thread Will Deacon
On Thu, 1 Apr 2021 19:16:41 +0800, Qi Liu wrote: > The initialization of value in function armv8pmu_read_hw_counter() > and armv8pmu_read_counter() seem redundant, as they are soon updated. > So, We can remove them. Applied to will (for-next/perf), thanks! [1/1] arm64: perf: Remove redundant init