lkml.org 
[lkml]   [2010]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 5/5]scsi:hosts.c Fix warning: variable 'rval' set but not used
    On Tue, Jun 15, 2010 at 10:33:54PM -0700, Justin P. Mattock wrote:
    > The below patch fixes a warning message generated by gcc 4.6.0
    > CC drivers/scsi/hosts.o
    > drivers/scsi/hosts.c: In function 'scsi_host_alloc':
    > drivers/scsi/hosts.c:328:6: warning: variable 'rval' set but not used
    >
    > Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

    Reviewed-by: Matthew Wilcox <willy@linux.intel.com>

    --
    Matthew Wilcox Intel Open Source Technology Centre
    "Bill, look, we understand that you're interested in selling us this
    operating system, but compare it to ours. We can't possibly take such
    a retrograde step."


    \
     
     \ /
      Last update: 2010-06-16 13:09    [W:4.582 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site