lkml.org 
[lkml]   [2011]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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


    \
     
     \ /
      Last update: 2011-04-04 01:23    [W:5.920 / U:0.472 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site