From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Wilcox Subject: Re: [PATCH 5/5]scsi:hosts.c Fix warning: variable 'rval' set but not used Date: Wed, 16 Jun 2010 05:05:58 -0600 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 Return-path: Content-Disposition: inline In-Reply-To: <1276666434-11227-6-git-send-email-justinmattock@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: "Justin P. Mattock" Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org List-Id: linux-scsi@vger.kernel.org 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."