Re: [PATCH] perf: delete unused variable tmp to fix new build warning

From: Ingo Molnar
Date: Thu May 22 2014 - 08:21:53 EST



* Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> wrote:

> commit 3a497f48637e2aac17eabb84a17f8ac5216028fc [tip:perf/core]
> ("perf: Simplify perf_event_exit_task_context()") deleted the
> code that was using tmp but not the declaration of it, causing:
>
> kernel/events/core.c:7434:35: warning: unused variable âtmpâ [-Wunused-variable]

This warning should be addressed by:

12665b35b0b4 perf/events/core: Drop unused variable after cleanup

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/