[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D989175.9090400@gmail.com>
Date: Sun, 03 Apr 2011 19:25:41 +0400
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Florian Mickler <florian@...kler.org>
CC: x86@...nel.org, linux-kernel@...r.kernel.org,
David Rientjes <rientjes@...gle.com>, Tejun Heo <tj@...nel.org>
Subject: Re: [PATCH] x86, numa_64: remove unused variable
On 04/03/2011 07:13 PM, Florian Mickler wrote:
> In case !CONFIG_ACPI_NUMA and !CONFIG_AMD_NUMA gcc emits a warning about
> the unused variable ret.
>
> As that variable is in fact not needed I choose to remove it.
>
> Signed-off-by: Florian Mickler <florian@...kler.org>
> ---
> arch/x86/mm/numa_64.c | 8 ++------
> 1 files changed, 2 insertions(+), 6 deletions(-)
>
As far as I remember David prefer to have 'ret' in place but since it causes
such a warn we better to drop it.
--
Cyrill
--
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