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 AEFACA00BE for ; Wed, 30 Oct 2019 09:04:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 81ABD1BF4C; Wed, 30 Oct 2019 09:04:17 +0100 (CET) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id AFFEE1BF2F for ; Wed, 30 Oct 2019 09:04:14 +0100 (CET) Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1C8E381F18 for ; Wed, 30 Oct 2019 08:04:14 +0000 (UTC) Received: by mail-ua1-f70.google.com with SMTP id 66so253890uao.0 for ; Wed, 30 Oct 2019 01:04:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y1IBuB2D6f845MBywNrFmiUHVRLsbbJNWWSdfoOf0lg=; b=m+ruYoWUvyRvm+l/SLgEGLqE6l8XHiZJbY/aGysaD/u1EVLj8cqNoHweqJ9P3REvjJ uQHr5v2hwBmeDmztq+YirqNn7poeMUMnIgTANup1A1R5yviYB8KXN7lOBnBntmxxZiiz 7mTn0jSmLMF2CUuFciZfQyc+TXfov7+OvCRlbePq6Vng8puga/6hAdOCAw633F+4/XP6 JS3Ps2UuSn1MMPJz3JhD3Fs4V1cTjVYz37OJxtkFniVOhiEqO1owFEsGMWk1keI54Z/g V6VRVfLjRqOPqgvVaJnHKyUiUv/Visn2ckvOujte//qonv7Lq2D21S2Su0FInk+l4jC5 jTKA== X-Gm-Message-State: APjAAAWnBUts4H0CFOErla8zrRMGT0gtScnw9O+bW9qg30tkijdxcQaW IVXoL757vwkK0B/W5l+IMJdKzOcpFUwEgifW4mPugZTU503p9CvXFHayZxht7YhioSFQ2Zpd2d7 qAh3BgPEZG6Q7k2yK8PY1J/w= X-Received: by 2002:a1f:2155:: with SMTP id h82mr10139649vkh.18.1572422653138; Wed, 30 Oct 2019 01:04:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwF3B1evcX1zQawiFVI5oUL0v/r8ivFUpoFyNUGq3AFGnFAJeHPZBsdNAUKGLhbJvr/P4sOlPOwQ//frWO46vU= X-Received: by 2002:a1f:2155:: with SMTP id h82mr10139641vkh.18.1572422652766; Wed, 30 Oct 2019 01:04:12 -0700 (PDT) MIME-Version: 1.0 References: <20191001125315.6191-1-ktraynor@redhat.com> <20191001130405.7076-1-ktraynor@redhat.com> <20191001130405.7076-5-ktraynor@redhat.com> In-Reply-To: <20191001130405.7076-5-ktraynor@redhat.com> From: David Marchand Date: Wed, 30 Oct 2019 09:04:01 +0100 Message-ID: To: Kevin Traynor Cc: dev , Rosen Xu , dpdk stable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH 6/9] 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" On Tue, Oct 1, 2019 at 3:04 PM Kevin Traynor wrote: > > 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 > --- > 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 c7b336bbd..0d71dcd64 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 { > struct ipn3ke_tm_node *port_node; > - /*struct ipn3ke_tm_node_list vt_node_list;*/ > - /*struct ipn3ke_tm_node_list cos_node_list;*/ > - > uint32_t n_shaper_profiles; > - /*uint32_t n_shared_shapers;*/ > uint32_t n_tdrop_profiles; > uint32_t n_vt_nodes; > uint32_t n_cos_nodes; > - > struct ipn3ke_tm_node *port_commit_node; > struct ipn3ke_tm_node_list vt_commit_node_list; > struct ipn3ke_tm_node_list cos_commit_node_list; > - > - /*uint32_t n_tm_nodes[IPN3KE_TM_NODE_LEVEL_MAX];*/ > }; > > 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, > struct rte_tm_error *error) > { > - /*struct ipn3ke_tm_internals *tm = IPN3KE_DEV_PRIVATE_TO_TM(dev);*/ > uint32_t node_index; > uint32_t parent_index; > -- > 2.21.0 > Reviewed-by: David Marchand -- David Marchand