arm64: perf: Remove redundant initialization in perf_event.c
authorQi Liu <liuqi115@huawei.com>
Thu, 1 Apr 2021 11:16:41 +0000 (19:16 +0800)
committerWill Deacon <will@kernel.org>
Thu, 1 Apr 2021 17:05:32 +0000 (18:05 +0100)
commit2c2e21e78a945b174629944281997bbcb839e6bb
tree96694d3a88140edf86d0bcb58a40c76ef5bf2082
parente20ac6c54a93335b56a6d057aa5da27183f573fa
arm64: perf: Remove redundant initialization in perf_event.c

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 <liuqi115@huawei.com>
Link: https://lore.kernel.org/r/1617275801-1980-1-git-send-email-liuqi115@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/perf_event.c