From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3BE94A04AB for ; Wed, 6 Nov 2019 20:02:51 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 950B01E8CA; Wed, 6 Nov 2019 20:02:43 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id A54191E88F for ; Wed, 6 Nov 2019 20:02:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573066954; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Np/h6u6Cvkt7Pv5s/VbZOyBhLWnlNaTELmbCr2CtIIQ=; b=LjGBmoFdEmjpQeJ0mXuL1yBgPwH7W5hwaf57+OBXuegBou8HXi9MSI521ldGItEnS9gkBG RN9FHSCeBSMtPwQz3REleX/VHsAucdUDu3iskP/rnxA6qvjWYmbrEp+qeNAEajW5mlMbC/ m8jVkDceGdn/PjQcL/sL61aj3tN9OlE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-412-ouEqhkIONba2SfMtndyuKQ-1; Wed, 06 Nov 2019 14:02:30 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B442F800C72; Wed, 6 Nov 2019 19:02:29 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.118.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id 670821001B35; Wed, 6 Nov 2019 19:02:28 +0000 (UTC) From: Kevin Traynor To: dev@dpdk.org Cc: david.marchand@redhat.com, Kevin Traynor , rosen.xu@intel.com, stable@dpdk.org Date: Wed, 6 Nov 2019 19:02:00 +0000 Message-Id: <20191106190203.10750-6-ktraynor@redhat.com> In-Reply-To: <20191106190203.10750-1-ktraynor@redhat.com> References: <20191001125315.6191-1-ktraynor@redhat.com> <20191106190203.10750-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: ouEqhkIONba2SfMtndyuKQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] [v2 PATCH 5/8] net/ipn3ke: remove commented out code X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" These struct members and variable were commented out. Remove them. Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") Fixes: c820468ac99c ("net/ipn3ke: support TM") Cc: rosen.xu@intel.com Cc: stable@dpdk.org Signed-off-by: Kevin Traynor Reviewed-by: David Marchand --- drivers/net/ipn3ke/ipn3ke_ethdev.h | 7 ------- drivers/net/ipn3ke/ipn3ke_tm.c | 1 - 2 files changed, 8 deletions(-) diff --git a/drivers/net/ipn3ke/ipn3ke_ethdev.h b/drivers/net/ipn3ke/ipn3ke= _ethdev.h index 985f20352..9b0cf309c 100644 --- a/drivers/net/ipn3ke/ipn3ke_ethdev.h +++ b/drivers/net/ipn3ke/ipn3ke_ethdev.h @@ -97,18 +97,11 @@ struct ipn3ke_tm_node { struct ipn3ke_tm_hierarchy { =09struct ipn3ke_tm_node *port_node; -=09/*struct ipn3ke_tm_node_list vt_node_list;*/ -=09/*struct ipn3ke_tm_node_list cos_node_list;*/ - =09uint32_t n_shaper_profiles; -=09/*uint32_t n_shared_shapers;*/ =09uint32_t n_tdrop_profiles; =09uint32_t n_vt_nodes; =09uint32_t n_cos_nodes; - =09struct ipn3ke_tm_node *port_commit_node; =09struct ipn3ke_tm_node_list vt_commit_node_list; =09struct ipn3ke_tm_node_list cos_commit_node_list; - -=09/*uint32_t n_tm_nodes[IPN3KE_TM_NODE_LEVEL_MAX];*/ }; =20 diff --git a/drivers/net/ipn3ke/ipn3ke_tm.c b/drivers/net/ipn3ke/ipn3ke_tm.= c index a93145d59..5a16c5f96 100644 --- a/drivers/net/ipn3ke/ipn3ke_tm.c +++ b/drivers/net/ipn3ke/ipn3ke_tm.c @@ -1088,5 +1088,4 @@ ipn3ke_tm_node_add_check_mount(uint32_t tm_id, =09struct rte_tm_error *error) { -=09/*struct ipn3ke_tm_internals *tm =3D IPN3KE_DEV_PRIVATE_TO_TM(dev);*/ =09uint32_t node_index; =09uint32_t parent_index; --=20 2.21.0