From patchwork Wed Jun 16 16:00:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Justin P. Mattock" X-Patchwork-Id: 106508 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5GG0oFk007497 for ; Wed, 16 Jun 2010 16:00:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759122Ab0FPQAY (ORCPT ); Wed, 16 Jun 2010 12:00:24 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:57912 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759080Ab0FPQAX (ORCPT ); Wed, 16 Jun 2010 12:00:23 -0400 Received: by pwi1 with SMTP id 1so3933504pwi.19 for ; Wed, 16 Jun 2010 09:00:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=+5eHNKHfpoUZQIW3VeChy+geC/GjXicz6e77a00MVRs=; b=Fn+OUpQpF6KwTuvoG21JaZDu3haF8m44kz1wCs1ejT8Y2wOOIJeJmO3dDvqRdGEAFC AkXHQ2xhD49FXMjxUOwbjhkaNzqFQ4NwJ4yluMW/yOj+ZuGx+MuHu53TIBbGWQl1Z1lc IcTCXtt5lyt+2IAcm3uQyMnkLRCpEba07kYdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=iBNHwgZKyUtKdG1ApEOkV4QdOu6znlTs98BOt1uPUV8muzIwqGNbS6oC+ayhUR+LJ7 rXbfp5UYdiZui6jjWCBKWovcC+xBfFpkBf4R4sSIFBN4iqVFTBH9WRFGS9tV1+J4wGN6 C3jVU2f2CBP1y59+4/IaqyJhTNfjJmPei+3P0= Received: by 10.114.6.19 with SMTP id 19mr7203126waf.124.1276704020597; Wed, 16 Jun 2010 09:00:20 -0700 (PDT) Received: from [10.0.0.92] ([76.91.45.220]) by mx.google.com with ESMTPS id f11sm83297619wai.11.2010.06.16.09.00.18 (version=SSLv3 cipher=RC4-MD5); Wed, 16 Jun 2010 09:00:19 -0700 (PDT) Message-ID: <4C18F524.4000902@gmail.com> Date: Wed, 16 Jun 2010 09:00:36 -0700 From: "Justin P. Mattock" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091114 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: James Bottomley CC: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, linux-pci@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH 5/5]scsi:hosts.c Fix warning: variable 'rval' set but not used References: <1276666434-11227-1-git-send-email-justinmattock@gmail.com> <1276666434-11227-6-git-send-email-justinmattock@gmail.com> <1276702443.2847.153.camel@mulgrave.site> In-Reply-To: <1276702443.2847.153.camel@mulgrave.site> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 16 Jun 2010 16:00:51 +0000 (UTC) diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c index 6660fa9..8d98a46 100644 --- a/drivers/scsi/hosts.c +++ b/drivers/scsi/hosts.c @@ -325,7 +325,6 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) { struct Scsi_Host *shost; gfp_t gfp_mask = GFP_KERNEL; - int rval; if (sht->unchecked_isa_dma && privsize)