Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp793663ybh; Mon, 13 Jul 2020 01:01:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDTzXkIChUmVLzC+jqMQkjxdC5Q60hZLSu0XjYntwKkpF/ysUypHZuMkrIZCKlFKAqXmhs X-Received: by 2002:a05:6402:2cb:: with SMTP id b11mr86071771edx.66.1594627313488; Mon, 13 Jul 2020 01:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594627313; cv=none; d=google.com; s=arc-20160816; b=W9XS5MQ5uycBc/T3jIE42EQGLZ+espMxbkqtzTdJSyuyEMesBTlU7xobDF43Lz93Ec nsOWAJK4GKWgiwzRxWuAvHiJP21dESb/DvsS80iwlftHmezBbwtqzQBJCKhv4pP1B+VD hYlPDpuqTG9/KLciQE5NEBuUJSIvo+al8zdxPXA6WiIHL0kMnlctXp+7NXdGwH4KxoZp wos078r4svP8Sbnx/xI0CxtxeXzygdGJrX32wwB/HIqi7eOJ24GIgcMlt9rBo31coXIM qaIsPoWWix9ZxR6Uh+wEeNyMFF6EedEcrkugXnibpQpMw/mbG0vAUKxMYheAs+EWqCbq D2nQ== 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=v9cGlm031nIjPacFwY99iDoOdtdcuT4qtQbLIyK4Y1ifZjlglppL/WcBU4fL4txdvt we7XvbDllnbUZTxZnWYnssYmCPwF4braUYDjGLiObLSD4QvVOHQRQLSkuvIkclD9UkFu S97HoQsEZtZbtazGegSWxcf4Lvj9DOoHmhfR59qyqJjtoHhMDC9jTZfmjRSSi7Rd6VfA bLkdDBpNKb2GgLtAcJrqDvtHGAfJlTti3Zz0yjTfBGhVbn0zbjWCpALhjlAbNPEKwtmM uY9LG8c8FLZMNMvyMuH8Fsfk4XNOMxBIvb/VoZujhRw/O8GbrK/fc3g5xmpQhOrS5ibu MdlQ== 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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 cb9si8148062ejb.176.2020.07.13.01.01.30; Mon, 13 Jul 2020 01:01:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1729513AbgGMIAz (ORCPT + 99 others); Mon, 13 Jul 2020 04:00:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729387AbgGMIAc (ORCPT ); Mon, 13 Jul 2020 04:00:32 -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 3CFC4C08C5DB for ; Mon, 13 Jul 2020 01:00:32 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id q5so14763647wru.6 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=JQKLJ74CPOASeNbW1wqMuen1S2eWTrKJCP3QuTw/9Rwna4rvAEcwMjrKU/t9GItjYG HzfilexNam2aJTyYOvK8qSc1QulbUSlrUlAxtAMTnExPiq2awpc10SS1n0I3fjtJoyT2 J8moUYU7eSodD5ClUQnUN6cyVrkaedlZmfC2iN2U4nuDLVnSi/aX0rQRJMSpqYS5eReZ +2OM3ufQzzQmv04uHBSwCyoDVGNPi2WNfOinkoKbwQtHB0f34j+DBg8k1VA4oz8UhkvY +WrMscsa8nmODOcwiBSt7P0MVFKArKcQaK28V8BeNgLGHNgHvm8kUhBf3A/gaDPWjDYH dc4Q== X-Gm-Message-State: AOAM5339Bqi7hyC5jSRyUYZcOYwQwprcSnAD8y49wyjMTkQD0NullwWe 5GtgVni99JQP7cgxFcI30j0L9A== 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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"); -- 2.25.1