lkml.org 
[lkml]   [2022]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] kernel: Delete a semicolon
Date
Extra semicolons could be deleted.

Signed-off-by: Li kunyu <kunyu@nfschina.com>
---
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 80782cddb1da..55bd25a48af1 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -4454,7 +4454,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.18.2
\
 
 \ /
  Last update: 2022-06-30 03:50    [W:0.020 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site