summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorSlark Xiao <slark_xiao@163.com>2022-07-20 17:12:20 +0800
committerIngo Molnar <mingo@kernel.org>2022-08-04 11:01:30 +0200
commit99643bab36b642be10bf09cd3285c37c9e5b597f (patch)
tree9cb5734f18ebdcf5b581c24de9f5d806c89533b7 /kernel
parenta41a2e2e34a907bd8979a53c58f44287630616e8 (diff)
perf/core: Fix ';;' typo
Remove double ';;'. Signed-off-by: Slark Xiao <slark_xiao@163.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20220720091220.14200-1-slark_xiao@163.com
Diffstat (limited to 'kernel')
-rw-r--r--kernel/events/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c
index c9d32d4d2e20..bd23f3e9bdae 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -4457,7 +4457,7 @@ int perf_event_read_local(struct perf_event *event, u64 *value,
*value = local64_read(&event->count);
if (enabled || running) {
- u64 __enabled, __running, __now;;
+ u64 __enabled, __running, __now;
calc_timer_values(event, &__now, &__enabled, &__running);
if (enabled)