Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757441Ab0FPLGA (ORCPT ); Wed, 16 Jun 2010 07:06:00 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:35592 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753172Ab0FPLF7 (ORCPT ); Wed, 16 Jun 2010 07:05:59 -0400 Date: Wed, 16 Jun 2010 05:05:58 -0600 From: Matthew Wilcox To: "Justin P. Mattock" Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH 5/5]scsi:hosts.c Fix warning: variable 'rval' set but not used Message-ID: <20100616110557.GE9298@parisc-linux.org> References: <1276666434-11227-1-git-send-email-justinmattock@gmail.com> <1276666434-11227-6-git-send-email-justinmattock@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1276666434-11227-6-git-send-email-justinmattock@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 875 Lines: 20 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 Reviewed-by: Matthew Wilcox -- 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." -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/