summaryrefslogtreecommitdiff
path: root/kernel/events
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2014-05-10 15:10:59 +0400
committerThomas Gleixner <tglx@linutronix.de>2014-05-19 16:52:58 +0400
commit12665b35b0b48c9583ee1b8f0a403dc708fb4a92 (patch)
treec9680a3eaf62278bab2badbd9920f25d6a8703c3 /kernel/events
parent26f273802b6ed28e059f4359bc7711dffceda022 (diff)
downloadlinux-12665b35b0b48c9583ee1b8f0a403dc708fb4a92.tar.xz
perf/events/core: Drop unused variable after cleanup
... in 3a497f48637 ("perf: Simplify perf_event_exit_task_context()") Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1399720259-28275-1-git-send-email-bp@alien8.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/events')
-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 7ab734fbaeeb..ed50b0943213 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;