Messages in this thread | | | Date | Sun, 3 Apr 2011 16:20:00 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH] x86, numa_64: remove unused variable |
| |
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@mickler.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.
Applied to x86-mm. Thanks for the cc Cyrill.
-- tejun
| |