Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp239274oof; Mon, 24 Sep 2018 19:43:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV60KP+fQvxwgSZZRG4w/bup1LTcpdGyFMub/W4nPYxK/ebanoUGG5/CHqepUtdV9uceBQh4Z X-Received: by 2002:a63:5558:: with SMTP id f24-v6mr1297647pgm.37.1537843426112; Mon, 24 Sep 2018 19:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537843426; cv=none; d=google.com; s=arc-20160816; b=CvNYGDjjjjA8fktKDEak0dHnc9s8M08q/kAx/BC7QiLMoxIkoXMFRr0cN9TrpAq8Mw AvLJCXu1/ajycgEKETFoiZyn7u2ECA5PRX9vdr571BLE5ntzhkgjHEYdgZk8yyAq+DHZ tVOhuoQ/KYvAPWmtW227ypDO9ED8CSIZco0Ac8A5WlI65w5hYMD1STqdKkhPgXCsduRh MxgROBzTFohh6tiNRMPbA1M2DSFO/7JIxHOLKKBVBWG4hn3Lh4Sxig0gRGLOv1kmRX9s NvomGHJG+fekTCk5htUYR3Uv0coQ9qrj3i4elARf+xbNphGI2E9AomfTcSLlnpgEuzii FT9g== 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; bh=ewN51JukttLxUS4bUDuvn/K8lxFlXXPKHGvCHmGlVpU=; b=jDG4Vr2ZTkoC2bgClf9Y5h0MauxhXAra7Y/RjWu5SDLPV57ZKNLCaQejn7AcL2ujR2 mh8x+vr4m/fseBwzk51yK6QpZRhx8sqxYO0XQ3vGu4Jc4x/kZw6XUtmuRbXVCxt7hNx7 49CcbSfYlKhmQWRUiVLxW4T6uYUeNgiCZiESB1BDLktO68HFyNvAcDnDEkiu00ACj88t RlKSC7+bYl8i/WZLFsMzBe5QduVLG6uqWGxcBZqjNbjUiIb1/q3xKmQ1UjKsvPh86kkr z5+HowdreXP7teaCwZqZqYAYw+uLgRVkgIr4wqg+QDbK3nty4cSr1//MYAN7X7wtqSid It1Q== 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 d68-v6si1087432pfj.311.2018.09.24.19.43.30; Mon, 24 Sep 2018 19:43:46 -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 S1728081AbeIYIsm (ORCPT + 99 others); Tue, 25 Sep 2018 04:48:42 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:12688 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727524AbeIYIsm (ORCPT ); Tue, 25 Sep 2018 04:48:42 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 3B9F29FC40EE6; Tue, 25 Sep 2018 10:43:22 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.399.0; Tue, 25 Sep 2018 10:43:17 +0800 From: Jason Yan To: , CC: , , , , , , , , , , , Jason Yan , Ewan Milne , Tomas Henzl Subject: [PATCH v3 1/5] scsi: libsas: delete dead code in scsi_transport_sas.c Date: Tue, 25 Sep 2018 10:56:50 +0800 Message-ID: <20180925025654.44053-2-yanaijie@huawei.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180925025654.44053-1-yanaijie@huawei.com> References: <20180925025654.44053-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 Reviewed-by: Johannes Thumshirn Reviewed-by: John Garry Reviewed-by: Hannes Reinecke Reviewed-by: Christoph Hellwig --- 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 0cd16e80b019..0a165b2b3e81 100644 --- a/drivers/scsi/scsi_transport_sas.c +++ b/drivers/scsi/scsi_transport_sas.c @@ -612,7 +612,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); @@ -1802,7 +1801,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.14.4