Remove typo.
Signed-off-by: Slark Xiao <[email protected]>
---
kernel/events/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/events/core.c b/kernel/events/core.c
index 2573673be8f3..7dd15bdb1f22 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)
--
2.25.1
The following commit has been merged into the perf/urgent branch of tip:
Commit-ID: 99643bab36b642be10bf09cd3285c37c9e5b597f
Gitweb: https://git.kernel.org/tip/99643bab36b642be10bf09cd3285c37c9e5b597f
Author: Slark Xiao <[email protected]>
AuthorDate: Wed, 20 Jul 2022 17:12:20 +08:00
Committer: Ingo Molnar <[email protected]>
CommitterDate: Thu, 04 Aug 2022 11:01:30 +02:00
perf/core: Fix ';;' typo
Remove double ';;'.
Signed-off-by: Slark Xiao <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
kernel/events/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/events/core.c b/kernel/events/core.c
index c9d32d4..bd23f3e 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)