From patchwork Mon Jul 10 07:06:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wangyijing X-Patchwork-Id: 107279 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp3039704qge; Mon, 10 Jul 2017 00:04:42 -0700 (PDT) X-Received: by 10.98.64.7 with SMTP id n7mr42400647pfa.76.1499670282279; Mon, 10 Jul 2017 00:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499670282; cv=none; d=google.com; s=arc-20160816; b=Gv4T4lq3o/jkT20l1iiOQUvH7jOfhYU18GG0ZRPFwNZ5CJaojkaaEfjzKtVSIEl9/Z YYsdaB0dmY/24MMZgIZVoik9O30LWcGuZp+eU1dMe/pZWPiXrWndHj9cAz57MAi18lpB IIWFLKOiad3g/eDhzAsjrQzlbtQfTe36YXZztdWLtXTlxGJpoe3PzSqmVS6IXgvpx5cm TRs0Qfp33CcTFHrt4HG/KS+f+Ff0K/CiGsFE8QHxGRr8L7EY1LjqKqRy9pNvI1mblp5F oMbYjBdLOqvlI0NVVW+IA+ERHcqVh16b+9jzWTI9WDj9mKwOmeRp/cMc+qHx3Fq0v4Jm fldA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=b4HlrVvyjsm9+uUWaI+xmwoJ8FXvNT1OWH8+jgZwwlM=; b=Wp3H5Sh/puws6ZeVSeoGXJZy+i9snQtvyi2MRxO1yeZBoNqCcF9zdGOxfnCh3XHZGn dy8OiZ5luIbj1HfuGAXBMI6t0ILM6afjdmWL34IjrLEzl0Zy3dCdyTdfa3zZr83cyKNA RBWUEE1D+qx1E3QnxLhFT0FzQo4WzValAnGSrwLu4gdq240AOYwPpaB8PUHDsmr9Al1n glEs8A7g1+dgezPLGlywikGJy/bN4k7YceLH02rDVzFBfZiBYCu+6YgYJwT+oxAnGrt7 cYB0Fc7Zn0zLczz+dIOAHTCeLTg8NYKXcI3Htmuz/gdWhjvHjJ5WzSMxGyn8jglIDc0g 30Ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n189si4499168pgn.110.2017.07.10.00.04.42; Mon, 10 Jul 2017 00:04:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753490AbdGJHDe (ORCPT + 1 other); Mon, 10 Jul 2017 03:03:34 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:9295 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751130AbdGJHCV (ORCPT ); Mon, 10 Jul 2017 03:02:21 -0400 Received: from 172.30.72.54 (EHLO dggeml406-hub.china.huawei.com) ([172.30.72.54]) by dggrg01-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id ARU37597; Mon, 10 Jul 2017 15:02:11 +0800 (CST) Received: from 138.huawei.com (10.175.124.28) by dggeml406-hub.china.huawei.com (10.3.17.50) with Microsoft SMTP Server id 14.3.301.0; Mon, 10 Jul 2017 15:02:03 +0800 From: Yijing Wang To: , CC: , , , , , , , , , , , , , , , , , , , Yijing Wang Subject: [PATCH v3 2/7] libsas: remove unused port_gone_completion Date: Mon, 10 Jul 2017 15:06:04 +0800 Message-ID: <1499670369-44143-3-git-send-email-wangyijing@huawei.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1499670369-44143-1-git-send-email-wangyijing@huawei.com> References: <1499670369-44143-1-git-send-email-wangyijing@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.59632673.0189, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: a29e048e2256d90e14030923eb2d8253 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org No one uses the port_gone_completion in struct asd_sas_port, clean it out. Signed-off-by: Yijing Wang --- include/scsi/libsas.h | 2 -- 1 file changed, 2 deletions(-) -- 2.5.0 diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index c41328d..628f48b 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -263,8 +263,6 @@ struct sas_discovery { /* The port struct is Class:RW, driver:RO */ struct asd_sas_port { /* private: */ - struct completion port_gone_completion; - struct sas_discovery disc; struct domain_device *port_dev; spinlock_t dev_list_lock;