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

From: Paul Gortmaker
Date: Thu May 22 2014 - 09:46:10 EST


On 14-05-22 08:21 AM, Ingo Molnar wrote:
>
> * 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

Indeed - and I now see that commit when I switch over to my tip repo.

However 12665b35b0b4 is not present in linux-next of yesterday or today
(21/22) for some reason. The tip/auto-latest merged into next has this:

commit 1974363f7e899dc1b9e6e774dc885c7980a7159b
Merge: 67367e2c3f76 7fd44dacdd80
Author: Ingo Molnar <mingo@xxxxxxxxxx>
Date: Thu May 8 12:40:28 2014 +0200

Merge branch 'x86/x32'

as its top commit. Today's auto-latest in tip shows a similar merge, but
with today's date (and it contains Boris' warning fix too.) Adding Stephen
to CC in case it is something related to linux-next infrastructure.

Thanks,
Paul.
--
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/