Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp226980imm; Tue, 18 Sep 2018 20:33:32 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbuRy4JtVeCV9Uu6DFpIRwabFc5trD79tmu5xOOMuYwqMM/zrungJ+0s+m+M3UzwdxBQd+C X-Received: by 2002:a17:902:7e45:: with SMTP id a5-v6mr32473773pln.151.1537328012768; Tue, 18 Sep 2018 20:33:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537328012; cv=none; d=google.com; s=arc-20160816; b=IruGqMYZLMskLNapDK4K+jl6YU8ltmOBkfv5O8aMMOt7wMxIfoJH6ZUFMFIkVUpov6 Cg7lCAkA/w67Nszps0I64CWyFS24Xdby6KoR6srzkv9wwnVcEn0q6mfRCqttFxrTd2HP KdxoluwNz7N5EvcqJuVzQZ2QSpYFtZaLs6hOAgQMDyZxfr+qEcE5jKPtAiS5d95lMgeC KnH/xqWQXbIBs5vpbtgMPwN03y77TDR+v/+stXm7WvKRK3HyLzvbG1BslchK3TPFUo9c bQs80ndyjuJtBR4Dme2g9+pyr1+0icTjrbwn+kDcDvRk6RexWLi8Thr5OJFMwUpOtUgH tbsQ== 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=SL4cPcnkY8WAspQenmUsTIpENkj1TbFhiBmPRZ4gdNs=; b=saWvI3Khh6/Yz3Uqkgm5P1eoe51mFDZqkF86JqWq/5J/vo63vX3jXBW4r2ai0UqFXw AJnM/TNpWomNO/dpizHktFSMRFGOYWMY+X4n78LE7HIZGB1627gDURk9qZipMDTdFSi+ 8C3Iv4T8EG8+UreHaZWaz9cLu3DhN0dOU952mXcni0bsWYAf+rgZUD2LTCP8u4rGr9Oe cgb509HE11AMtPqSw/dr/jt2T+zg2R2f7d4HBYJnehXX0vCSzX0OS8zTPmYOgJ5zoKd4 z6Pud+jetBdS0APCZvokZx3AJKUXlnHMCFDGEctPluQBEkwZO+zJqn98Z5YFlUtKarPk COtg== 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 u42-v6si20066554pgn.86.2018.09.18.20.33.05; Tue, 18 Sep 2018 20:33:32 -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 S1730605AbeISJIu (ORCPT + 99 others); Wed, 19 Sep 2018 05:08:50 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:55044 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726019AbeISJIu (ORCPT ); Wed, 19 Sep 2018 05:08:50 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 4E1A4DF0C27AB; Wed, 19 Sep 2018 11:32:55 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.399.0; Wed, 19 Sep 2018 11:32:47 +0800 From: Jason Yan To: , CC: , , , , , , , , , , , Jason Yan , Ewan Milne , Tomas Henzl Subject: [PATCH v2 1/5] scsi: libsas: delete dead code in scsi_transport_sas.c Date: Wed, 19 Sep 2018 11:32:00 +0800 Message-ID: <20180919033204.11102-2-yanaijie@huawei.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180919033204.11102-1-yanaijie@huawei.com> References: <20180919033204.11102-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 --- 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