[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1399844629-32173-1-git-send-email-vincent.stehle@laposte.net>
Date: Sun, 11 May 2014 23:43:49 +0200
From: Vincent Stehlé <vincent.stehle@...oste.net>
To: linux-kernel@...r.kernel.org, linux-next@...r.kernel.org
Cc: Vincent Stehlé <vincent.stehle@...oste.net>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Paul Mackerras <paulus@...ba.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>
Subject: [PATCH linux-next] perf: remove unused variable
This fixes the following compilation warning:
kernel/events/core.c: In function ‘perf_event_exit_task_context’:
kernel/events/core.c:7434:35: warning: unused variable ‘tmp’ [-Wunused-variable]
Signed-off-by: Vincent Stehlé <vincent.stehle@...oste.net>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Paul Mackerras <paulus@...ba.org>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>
---
Hi,
This can be seen with e.g. linux next-20140509 and arm allmodconfig.
Best regards,
V.
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 7ab734f..ed50b09 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -7431,7 +7431,7 @@ __perf_event_exit_task(struct perf_event *child_event,
static void perf_event_exit_task_context(struct task_struct *child, int ctxn)
{
- struct perf_event *child_event, *tmp;
+ struct perf_event *child_event;
struct perf_event_context *child_ctx;
unsigned long flags;
--
2.0.0.rc0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists