Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2962599imm; Mon, 28 May 2018 21:03:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpkeOJpvgmiHjvFUHMmR74+IXO9gfEIxP/5gz9Lbajpvfu9JlVAqxVmX38u+sASwSQyx2mp X-Received: by 2002:a63:6105:: with SMTP id v5-v6mr12297186pgb.299.1527566623761; Mon, 28 May 2018 21:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527566623; cv=none; d=google.com; s=arc-20160816; b=cfFiguJyNqibm5GGew0Q0casSGIj4g57z3EmGWkBwUVj1HxzWSp0XTWFGd/jOSHjAB jYkA7bIYf3c37/HUdGo/9NsQw0BmCkY2vT2giSUgXNrchjbtpfBv8itjAm1MGXWq//nc qpOZiXNh1SJeUaRXawk43umXCWSx36GcWa7gu4uJTboOan8rT9w6TfPkvp6YGueM/xhl nMZQCN0qAbzObJ0tk3yB+8td5N0VJCeX2o9JCcNvlEQWBmbr+ZWZwyWSFjF7u9EsLSAH 9fS3ZBC//1ZnrlZzTEmKN/c88YMTfz/GfXrLOLJVK7gIdOC96o/VeLo1de+wQiv7T7Cf UoHg== 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=7chnn0sjjRCEar+EqNKNbaC1Y/U7z0dbvkBupw6n+Ek=; b=bWAdajAJPiAtUgl/kipx2M5By/thRxCA7GiSCdnSpXB+A2p3ysUDeUY6O/2Nlney9l 4oEIAzukYBbwNVhzveOD1HKbJsPCH2KKIB0NH46O0rqznZlIeT3J6qTJ4VNudcK+RrNR BzI/2DXJd9Yyvh0LoCHcAYvukb/sTT/LNo8HBGnUSjAWR0V+ETFHpJNysaaESc0Q/V4V 7yNFfusWoI6EczqNZDYdS5Bdy0IFd0BfTJ3RH3QtGQZbrXlZbn5WxjxsJ25yjiUMQBj8 9Dc0n8LdSyxhuUkif/6Pzbxb7YAOmvIjMypgY3PiE69aewViwb24nG9OgR2M8RKEpF/B T1cQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 s86-v6si31794861pfd.288.2018.05.28.21.03.29; Mon, 28 May 2018 21:03:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756053AbeE2COi (ORCPT + 99 others); Mon, 28 May 2018 22:14:38 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:8198 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756023AbeE2COU (ORCPT ); Mon, 28 May 2018 22:14:20 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id EB54795C7B15; Tue, 29 May 2018 10:14:06 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.382.0; Tue, 29 May 2018 10:14:00 +0800 From: Jason Yan To: , CC: , , , , , , , , , , , , , Jason Yan , Ewan Milne , Tomas Henzl Subject: [PATCH 1/8] scsi: libsas: delete dead code in scsi_transport_sas.c Date: Tue, 29 May 2018 10:23:02 +0800 Message-ID: <20180529022309.21071-2-yanaijie@huawei.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180529022309.21071-1-yanaijie@huawei.com> References: <20180529022309.21071-1-yanaijie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This code is dead and no clue implies that it will be back again. Signed-off-by: Jason Yan CC: John Garry CC: Johannes Thumshirn CC: Ewan Milne CC: Christoph Hellwig CC: Tomas Henzl CC: Dan Williams CC: Hannes Reinecke --- drivers/scsi/scsi_transport_sas.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c index 08acbabfae07..92d966e500d4 100644 --- a/drivers/scsi/scsi_transport_sas.c +++ b/drivers/scsi/scsi_transport_sas.c @@ -623,7 +623,6 @@ sas_phy_protocol_attr(identify.target_port_protocols, sas_phy_simple_attr(identify.sas_address, sas_address, "0x%016llx\n", unsigned long long); sas_phy_simple_attr(identify.phy_identifier, phy_identifier, "%d\n", u8); -//sas_phy_simple_attr(port_identifier, port_identifier, "%d\n", int); sas_phy_linkspeed_attr(negotiated_linkrate); sas_phy_linkspeed_attr(minimum_linkrate_hw); sas_phy_linkspeed_rw_attr(minimum_linkrate); @@ -1813,7 +1812,6 @@ sas_attach_transport(struct sas_function_template *ft) SETUP_PHY_ATTRIBUTE(device_type); SETUP_PHY_ATTRIBUTE(sas_address); SETUP_PHY_ATTRIBUTE(phy_identifier); - //SETUP_PHY_ATTRIBUTE(port_identifier); SETUP_PHY_ATTRIBUTE(negotiated_linkrate); SETUP_PHY_ATTRIBUTE(minimum_linkrate_hw); SETUP_PHY_ATTRIBUTE_RW(minimum_linkrate); -- 2.13.6