From patchwork Wed Sep 15 09:07:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 512192 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp2339166jao; Wed, 15 Sep 2021 02:12:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGqazIXRVsQzhFa0Q+yYXSUMCvMYDRFWIFReAALQ+idHhx51xslWm1CYjD4dPh6I3t4YB/ X-Received: by 2002:a6b:8bcf:: with SMTP id n198mr17681526iod.178.1631697148068; Wed, 15 Sep 2021 02:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631697148; cv=none; d=google.com; s=arc-20160816; b=yaeNkyobonFxIpYz3zuPq0vs3fJbUC2KYjRrzEJjL2Ha/sqY5HVuHkusvk2ETf5WpW rMpv4OGj0H4JqhD8pyxRnYHaqU4Qphm8JpmUby05uV7aL8ZmQSn5J+2fPTznshXFucos Xntc1kA9evWwvyGA2w+VR1+gxL6bYqHOWm58AyFnbSYLRHXVjjVFR7xbRxcXwu8rMMPq I6/50v+FkYO8Z25ucXV3oV8yOnO+THkFXcOgPnrwcbLpslBb7QQ6LWbwlV+DMfSqJxyh HhUPbMnJYCtQDuYZZMCfKnXc3Uv6qOJtvwE6EW5xZoVNK+teEPmevkjmCVVdvjkl/GdP iSZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=+nKaN9NCVMDUna1ohEXKqikr9wRLUPlIf9GF1lRccCk=; b=Devh4/oPLGgPUrrggoU1qeqLnzvjwH9T6D/ka1DK361lNvp2M28+ccaYMR4/bDJT7y /QBAOPa4AupS6K/9tlddy73yxRkmkjHc0yW4GKXObRw9O5cHze59kKc/3MdnkW7f/6Q3 Sz3x2EYsAxPZEW/v9DnUZ+PLGiiQoHDXsvbv/rEbi8vcH/+Vnxr7TfEtXUyrOe1ij6Uc NXgklsz0alEN++V7ArjZMPOekWEVcLxzgR7hL9qrx0LIj1GVjD+cMFsijf/0ywWH6tIB OmxzlCJfgFONEUjUysQV9dmQmSKweX6JAefNPOIchX7kiILLBgz0Q3uK4DOm75scr2wO lDnw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si14111912ilu.99.2021.09.15.02.12.28 for ; Wed, 15 Sep 2021 02:12:28 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237365AbhIOJNp (ORCPT ); Wed, 15 Sep 2021 05:13:45 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3813 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237315AbhIOJNj (ORCPT ); Wed, 15 Sep 2021 05:13:39 -0400 Received: from fraeml708-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4H8ZDX1RpXz682B8; Wed, 15 Sep 2021 17:10:04 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml708-chm.china.huawei.com (10.206.15.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 15 Sep 2021 11:12:18 +0200 Received: from localhost.localdomain (10.69.192.58) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.8; Wed, 15 Sep 2021 10:12:16 +0100 From: John Garry To: , , , CC: , , , John Garry Subject: [PATCH v2 3/3] scsi: remove 'current_tag' Date: Wed, 15 Sep 2021 17:07:15 +0800 Message-ID: <1631696835-136198-4-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1631696835-136198-1-git-send-email-john.garry@huawei.com> References: <1631696835-136198-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org From: Hannes Reinecke The 'current_tag' field in struct scsi_device is unused now; remove it. Signed-off-by: Hannes Reinecke Signed-off-by: John Garry --- include/scsi/scsi_device.h | 1 - 1 file changed, 1 deletion(-) -- 2.26.2 Reviewed-by: Bart Van Assche diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 09a17f6e93a7..b97e142a7ca9 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h @@ -146,7 +146,6 @@ struct scsi_device { struct scsi_vpd __rcu *vpd_pg83; struct scsi_vpd __rcu *vpd_pg80; struct scsi_vpd __rcu *vpd_pg89; - unsigned char current_tag; /* current tag */ struct scsi_target *sdev_target; blist_flags_t sdev_bflags; /* black/white flags as also found in