From patchwork Mon Jul 13 07:59:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235347 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2617290ilg; Mon, 13 Jul 2020 01:00:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxci4xfER+s59DsmAyiki1x6PzqgQfq7xAAee4y1NDUk5EpoRM2vd93B0Zo8WdmySt9iEHC X-Received: by 2002:aa7:da58:: with SMTP id w24mr1092210eds.385.1594627257915; Mon, 13 Jul 2020 01:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594627257; cv=none; d=google.com; s=arc-20160816; b=gNu04tRPb5EkM7k2JD/2RSe5sWJ+Udh3gxtQHEVm/CmK8s60mMNqzm9NfjM8Oi1ngJ QPgjDv+bVOdRk1v9RuXzeydoPCSWTdsUhFFLQOM/sNwA0RDLKnbinJRLQMPYC8MSh3WV dCWOmG3QyPWnv6erLOtnxcjnH/c5/99Hg5/AgV/Ibf0lF9cugwEY+9nOaw8Pz5/NX4vj 5EI+NXzKaSDw+4dArj67w3ntpbjsZjaEftOUM3v8k4ojUumsaW4xVDZEtjIEp+kZNSpW 4296XYopQZoJrYPGcwjiL9r1aotJ1mQh3jBm8Eo8TO1KOaONX0GOh/lZew3jus1og0M2 2lLQ== 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=k39QKKb2ykeOOkcpIT2c1ewT6STZe7j5aTuU/WSIzuRqHoJXyR/DKaiVGoP01iQlM1 2lc5TEMcbfvv8uM8GrJiON1VNF4qjcYXpY7Rsv99o+FtPWQV9sxunKYpRN5unJ3YD5g8 tsw+WphAvt7IX+t1egcpqc7ckJHgXsx7NNUTW1DMQSWBRRpKHUbLZBRzuxVDO3vP8pN5 wDzTYFYusdYymmIXUsM4yaERh/t7cBLJu+zuZs5VShgAV2VcWHpYZFXdGFzLaVfVYK0k KDlzfm/8xZQ6vuXuIId+kdOK8fMzEdyopUVtkm8ipUUzqZKUKIbcinRo/UOP4+D2DR5Y nmxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZQTRM1Vs; 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: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y19si4392307ejw.454.2020.07.13.01.00.57 for ; Mon, 13 Jul 2020 01:00:57 -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=ZQTRM1Vs; 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 S1729508AbgGMIAz (ORCPT ); Mon, 13 Jul 2020 04:00:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729389AbgGMIAc (ORCPT ); Mon, 13 Jul 2020 04:00:32 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40DBFC08C5DD for ; Mon, 13 Jul 2020 01:00:32 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id o11so14777724wrv.9 for ; Mon, 13 Jul 2020 01:00:32 -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=ZQTRM1VsfjTdDHT/1hpHbIxUExXVOBDSnR3Et1qhO6f504dX/NOSChAGPoB3N/qTYd WBlMv5AA/udLN4laXwk6b5Vosy52ncwaQeJqOQJ/Q5bdp4DM4d9767ErY7pKSwENdRnp Vz7mXZevhaBlxYd4M0+Xww9HkDka6fatLrpZU2E/zXKKKEXv3eeekfzx5Nb3pgIwlreu cYnWfxl/48kP/OPNKhMaY06/ytykZwK0wEaZxKr5dM6bPGQjMvjUp5JLuRMF6+EGI/tU 2hnCDUW2jY3iV2h/gHNn8vqIy7zdYsgvZAgrMgcU/YE8T9KrR5Io2gX65LyKFiI0Qopx 7SiQ== 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=UUMMD1aUXdRjv3L5PJnPadJvP/gO9+SbAZTU3lf861kTWs8TFxdSjvlqBOUxycfGr3 NFnU0RnElk+eSxN+aWkEqpf154VbCI04YUhU1TqEWDMCaaTAprvhY/8JAp1nQ4cuICcB 3ER1wDzeDmgpUYjvYyhBs85cL5R9oBFWsY3MrlQVQgne4wF6EiEtiWJM6h8KW91bJHCZ DPVwYefXrg0eeNw0RohEuKAJ8/viIoJ7gf8Dv3wa5+wX7LxUhgtF63SbjrMJDV9H+g0x 3zb+wHlt+/pgYw1rCVQ+IzbrROTrYmMV/Zs59mlGeKiZ9omwFDJ2/3M/gFstKuMwfdHh Rzhg== X-Gm-Message-State: AOAM533cc2+AxXQOaYu3K11F43dxKTiOHdB8VIgLkV6TrrB4eh0g2x/D DKiN9OSj31/gHaoWNYmZoDKjkA== X-Received: by 2002:a5d:40c9:: with SMTP id b9mr75708958wrq.425.1594627231014; Mon, 13 Jul 2020 01:00:31 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id 33sm24383549wri.16.2020.07.13.01.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 01:00:30 -0700 (PDT) From: Lee Jones To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones , Hannes Reinecke Subject: [PATCH v2 21/24] scsi: aic7xxx: aic79xx_osm: Remove unused variable 'ahd' Date: Mon, 13 Jul 2020 08:59:58 +0100 Message-Id: <20200713080001.128044-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200713080001.128044-1-lee.jones@linaro.org> References: <20200713080001.128044-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org 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 Signed-off-by: Lee Jones --- drivers/scsi/aic7xxx/aic79xx_osm.c | 3 --- 1 file changed, 3 deletions(-) -- 2.25.1 Reviewed-by: Hannes Reinecke 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");