]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf/x86/intel/ds: Remove redundant assignments to sample.period
authorChangbin Du <changbin.du@huawei.com>
Tue, 6 May 2025 09:49:07 +0000 (17:49 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 16 May 2025 15:53:53 +0000 (17:53 +0200)
commit75a9001bab36f0456f6aae1ab0aa487db456464a
tree7265a95be7084697a2a7a4f322c4eef42ebf68d5
parent18049c8cff9cc89daadc4df6975f7d9069638926
perf/x86/intel/ds: Remove redundant assignments to sample.period

The perf_sample_data_init() has already set the period of sample, so no
need to do it again.

Signed-off-by: Changbin Du <changbin.du@huawei.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250506094907.2724-1-changbin.du@huawei.com
arch/x86/events/intel/ds.c