Re: [PATCH] x86, numa_64: remove unused variable

From: Cyrill Gorcunov
Date: Sun Apr 03 2011 - 11:25:56 EST


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@xxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/