Message ID | 20200709174556.7651-22-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1631702ilg; Thu, 9 Jul 2020 10:46:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDOjkrctgUIBquiMm5MOVi+7wOzu07u2ZUSAVszwbYAg87yHH/Jy1gtaco3ecJdNMponmN X-Received: by 2002:a17:906:c0da:: with SMTP id bn26mr56868963ejb.359.1594316787161; Thu, 09 Jul 2020 10:46:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594316787; cv=none; d=google.com; s=arc-20160816; b=YI0udklZxnkTdDKGSkwCyHI+OC47qcOQeR5j/WZ2FX5QM+qmoL8FxkBjcnobl/1ue0 kHXprkcXE/M5op8u+/kIJ2MEqwEHeHAxk7gA8gR3AeiYCQsDTOGvNeRpzvweL61Lw6hG huql3sYVGtjsOzRjwjPpHyg5bg6MZ+P872yQ9QG55np7tXLnyi2hBIUtLUOGyQ9dxi5M 4wFqVBDdKOVI0JcO8/AYEu+5DWqGTIFizvHqhVDL+DXAz38jaU3xnSKdoh8vmU5AZKyC nK5dfczDsdunxZrsPeTS10ax0nBsNWw2E4lSTM3G2uQr7t05bNyd96N7idQwHcQYmJvI /vjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LaCRoLNPh8rfOtJymwBCMA+9wwfzZ0YZT8hDB5cEPf8=; b=NWi/fHN83pKKiy8DdBL69QrjNKQIB8Dhy/TRnrFpxBTLM1u08cFPCoN2Boq+Miaejc Y3+uanbE+kD8NfeLDEUNVuZ1Th+8oNehdl9Wx/sQRW+9mSrRUSG/0+ZKcLUCqYmLMX99 KFnuZw7ugqUZWs5sO3VRyD5R67Ce0M4eUcXQ6xWrXkui4hIbcUU9cOWV6HqfZE12+SBN Lrn8yVoBcdGlN9AmQX0mu3wt9iQpcce1AFjiO8UNPZAClxoljnhantPlRLeTn5r+f7Vj DACdwbYUErfFPZgi4STMtY0E5gkevlW2IMih4Q4Ep+worDLCkkV3u5y6RfsXX3iujr56 vwXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MHzyKOxt; 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 f9si2372177edy.84.2020.07.09.10.46.27 for <patch@linaro.org>; Thu, 09 Jul 2020 10:46:27 -0700 (PDT) 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=MHzyKOxt; 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 S1728667AbgGIRq0 (ORCPT <rfc822;patch@linaro.org>); Thu, 9 Jul 2020 13:46:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728658AbgGIRqY (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Thu, 9 Jul 2020 13:46:24 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 782C4C08C5CE for <linux-scsi@vger.kernel.org>; Thu, 9 Jul 2020 10:46:24 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id j4so3275405wrp.10 for <linux-scsi@vger.kernel.org>; Thu, 09 Jul 2020 10:46:24 -0700 (PDT) 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=LaCRoLNPh8rfOtJymwBCMA+9wwfzZ0YZT8hDB5cEPf8=; b=MHzyKOxtOXPmABYls8bZGdJ0/FFwgWKEjJZ2uNXDNi+1EhQXcbBGozwD1qdFSzqyHI lHQK2aOSSA5ysnbzPIGEPrfDdt2pLdpRiRPeXLudDa0ShJrmZ45aQ3Tn76aMKUtFPVVS 7OPeyC+yoTPgPCvRt+9+oD1lWbV9xf2zuZT5Hj3VeCX/7G+N3iY23K+0kej9+5k4s2EW 8qKVvOJ5yKAN1RB6D0wFoTHoIkEY14bC/uhokXf4t6GTkml0v6QzRDpvIGSOfWscP03H 7rv0njww555uSJdnwzLb3XdBGLYsDN90x9vcFunzyMgSnCEAyTAB/uO88v/jgpb9qVc7 9j2g== 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=LaCRoLNPh8rfOtJymwBCMA+9wwfzZ0YZT8hDB5cEPf8=; b=C3kSIPuhFvWtaLT1eNRv9IWwYZ1mIuZcVqqnpIY+eRYLPsbvVHJ0eX+VSDqv44FgXV jZMGuU98o18Pctnu+sE4LVs/MXK7llrjvWLpPsk0KoHrV8TC2duNk59+W597Q/2onUDg A1TvXVQtZMe4GT7wt9FzZEYMiSBS5xzDKV91x5gpZNVnDCe1AnomGCmbm3y7sP8N58l/ zFjVxWW+q7p7mOMxtQvWlDCGPRxw7Kz7Dy/No2atKbt4p5poL8UApTw1MFOs1/R/VB/3 XqNw5z3sHY8tnLQbu1R6dHanHEuebW0EfzwIjGTc8FKDMh1DvnXL1xTSJSR6bDHMJar3 4Hrw== X-Gm-Message-State: AOAM533lXt1a2R8GUL9vy1DXfpnGySyDmk72f2ieV1NGLeVwViChFjcO qvjg5EqWLnW5/chLCCZhLWQyfbectFQ= X-Received: by 2002:a05:6000:6:: with SMTP id h6mr63120313wrx.26.1594316783189; Thu, 09 Jul 2020 10:46:23 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.206]) by smtp.gmail.com with ESMTPSA id f15sm6063854wrx.91.2020.07.09.10.46.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jul 2020 10:46:22 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, Hannes Reinecke <hare@suse.com> Subject: [PATCH 21/24] scsi: aic7xxx: aic79xx_osm: Remove unused variable 'ahd' Date: Thu, 9 Jul 2020 18:45:53 +0100 Message-Id: <20200709174556.7651-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200709174556.7651-1-lee.jones@linaro.org> References: <20200709174556.7651-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
Set 3: Fix another set of SCSI related W=1 warnings
|
expand
|
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c index dc4fe334efd01..9235b6283c0b3 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.c +++ b/drivers/scsi/aic7xxx/aic79xx_osm.c @@ -700,9 +700,6 @@ ahd_linux_slave_alloc(struct scsi_device *sdev) static int ahd_linux_slave_configure(struct scsi_device *sdev) { - struct ahd_softc *ahd; - - ahd = *((struct ahd_softc **)sdev->host->hostdata); if (bootverbose) sdev_printk(KERN_INFO, sdev, "Slave Configure\n");
Hasn't been used since 2005. Fixes the following W=1 kernel build warning(s): drivers/scsi/aic7xxx/aic79xx_osm.c: In function ‘ahd_linux_slave_configure’: drivers/scsi/aic7xxx/aic79xx_osm.c:703:20: warning: variable ‘ahd’ set but not used [-Wunused-but-set-variable] Cc: Hannes Reinecke <hare@suse.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/aic7xxx/aic79xx_osm.c | 3 --- 1 file changed, 3 deletions(-) -- 2.25.1