Message ID | 20210312094738.2207817-25-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1050614jai; Fri, 12 Mar 2021 01:49:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBareoD9oTuYp5SMOqUqsbUAaRuOzn2XK0MvRBbjePVIlC8DTxgAljkAqTEfT3ToiyKCH2 X-Received: by 2002:a50:d71e:: with SMTP id t30mr13037494edi.58.1615542565734; Fri, 12 Mar 2021 01:49:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615542565; cv=none; d=google.com; s=arc-20160816; b=VgoSRb7TD65O4rsLx8NfprbbdZ3z8iurdqri67LXJA+eCzbCn3INQ1M5szgj2RsAGp T5UfxDporKHsztJoboD6cC7aCwXVsQPUbeEG2Sbcu2rTMMZCpFq0h/bnGpVE2Ml9Hs5J gXELto4qtEeRZrEM74u8wtrmOl8V8z62LnHHQr2bh2vCOvTzkKh+giOhpMIKE0eLQ/5d gVDfmoUY5cCW0EohLeCby51owMvZyccmfytkP2vUK2S0dbqhn2FW3AI4+pFHx4WZunA8 55o9eQsyoK6a2bGrXb1ZJsV0UNMxZ8tgmiZY02zlSx0EQLzuL9utb1rOJqLPCPfb8apo ULOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=l+1EJFBCtfo9l4gZLbyeXef//j2IlwdufiBKnHN8Ms4=; b=a85Si9UChnhayQW59xQRlYfvUIULwY5Xp4c/gL9DK4GKpFptwsmcFv9aGBMkfy7jIW I3iy3nrx74wEbc9P2RbyJNP02tAXcnCRUEzSYW9hyV3NmbDY6PyG2hkuBhqsOGCkiHBN mIhr6M9Mi7Vt4qM6kaD7LDkWYBhEzQsxeHo06IAunXz0CYKBFAKOWr1OeJTGfUATXQPG ELSt252jpY9kxHQzUCtrj5E2e3ixMqzxCunX5pTtZAmtZbSXrerk5ngv3/C0ZDqKJYMy AtYCDXf7QvSVMCdhuReh2r7otQGLxt9QAA0iXsiiC6lybsQuTmDWQu5VJyLenruXjXKP /98A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=etOJppZ0; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-scsi-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cf6si3710544ejb.272.2021.03.12.01.49.25 for <patch@linaro.org>; Fri, 12 Mar 2021 01:49:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=etOJppZ0; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233241AbhCLJsp (ORCPT <rfc822;patch@linaro.org>); Fri, 12 Mar 2021 04:48:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233114AbhCLJsO (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Fri, 12 Mar 2021 04:48:14 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08BD9C0613D7 for <linux-scsi@vger.kernel.org>; Fri, 12 Mar 2021 01:48:14 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id g8so3403141wmd.4 for <linux-scsi@vger.kernel.org>; Fri, 12 Mar 2021 01:48:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=l+1EJFBCtfo9l4gZLbyeXef//j2IlwdufiBKnHN8Ms4=; b=etOJppZ0N6Hc5WuXjMl/Rq7RPdhqLpqkPvoenm70t2iJLGNWCJF3hUhVcYbGHzOsaP ISlklt18zy37gZIRUD0Sh0/GoGxM0vTMfkb+dPoWq8wwXLl5BLbNZDXDUcbuohHwd6QY KazOWxWWTjHc9hdnB3RhLrNh66P5mUt1SCagZX1l/4cEEy6i7vSrNZIywzKYA4uNFIP1 OP1uo2gTEQUqR4kHhCVU9QFfvEX6kj/jBTe2TpGrrmx3Jd2Masl2xT5THLwm3I/lfCt6 +xeT/KHaQr3T/c5gX7iM+h2PWlQCUheqfYg87dPIAFHbbRkNxYkFp18sb1Zs4fDu/IOy lgpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=l+1EJFBCtfo9l4gZLbyeXef//j2IlwdufiBKnHN8Ms4=; b=lAiwBEIfOVp6VrdLw96Te6VFObR0r4veCCqArcGEesnE3GUoxWDlz+/aEH9vthhYQK a6kxhpG6BUjbqkMjknTNC4d7CN37URFscIXcMHMc+sUnZGmeO1Qtp00YRQz8z4wiOyJL z9TMlwWhAeoublPfmogPFc4VGVx1y/c3YNHBIMbEPYJCItN8klv8jkqoF8e/t7wQPm+g rrGeUFSjZKInK2V0OY4Zi2gEuLssSVGEB2o9Jo5Rm8CTzKQHv2KI8LQYTQeg8fQBQL6u fiNnJCy/cE1C7yz03T2mg6n53CAXLbypdXVxSbUV0bkNPJdm7WsFlXTTZlc/s5J6cL1X v8Lg== X-Gm-Message-State: AOAM5324qUrTdvy0aERxT2+i3FI7OW13w6vaRwDFpwRHPOxTr924FHTw VRLZXHmfeOifcTns0Bw/xloB1w== X-Received: by 2002:a1c:a543:: with SMTP id o64mr12229175wme.107.1615542492647; Fri, 12 Mar 2021 01:48:12 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f7sm1539536wmq.11.2021.03.12.01.48.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 01:48:12 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, "James E.J. Bottomley" <jejb@linux.ibm.com>, "Martin K. Petersen" <martin.petersen@oracle.com>, Doug Ledford <dledford@redhat.com>, Christoph Hellwig <hch@lst.de>, Alan Cox <alan@lxorguk.ukuu.org.uk>, linux-scsi@vger.kernel.org Subject: [PATCH 24/30] scsi: a100u2w: Remove unused variable 'bios_phys' Date: Fri, 12 Mar 2021 09:47:32 +0000 Message-Id: <20210312094738.2207817-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210312094738.2207817-1-lee.jones@linaro.org> References: <20210312094738.2207817-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
Rid W=1 warnings in SCSI
|
expand
|
On Fri, Mar 12, 2021 at 09:47:32AM +0000, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): Looks good, Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c index 66c514310f3c5..c99224a128f82 100644 --- a/drivers/scsi/a100u2w.c +++ b/drivers/scsi/a100u2w.c @@ -1089,7 +1089,6 @@ static int inia100_probe_one(struct pci_dev *pdev, int error = -ENODEV; u32 sz; unsigned long biosaddr; - char *bios_phys; if (pci_enable_device(pdev)) goto out; @@ -1141,7 +1140,6 @@ static int inia100_probe_one(struct pci_dev *pdev, biosaddr = host->BIOScfg; biosaddr = (biosaddr << 4); - bios_phys = phys_to_virt(biosaddr); if (init_orchid(host)) { /* Initialize orchid chip */ printk("inia100: initial orchid fail!!\n"); goto out_free_escb_array;
Fixes the following W=1 kernel build warning(s): drivers/scsi/a100u2w.c: In function ‘inia100_probe_one’: drivers/scsi/a100u2w.c:1092:8: warning: variable ‘bios_phys’ set but not used [-Wunused-but-set-variable] Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: Doug Ledford <dledford@redhat.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/a100u2w.c | 2 -- 1 file changed, 2 deletions(-) -- 2.27.0