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

From: Tejun Heo
Date: Sun Apr 03 2011 - 19:20:10 EST


On Sun, Apr 03, 2011 at 07:25:41PM +0400, Cyrill Gorcunov wrote:
> 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.

Applied to x86-mm. Thanks for the cc Cyrill.

--
tejun
--
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/