net/ipn3ke: remove commented out code
authorKevin Traynor <ktraynor@redhat.com>
Wed, 6 Nov 2019 19:02:00 +0000 (19:02 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 8 Nov 2019 15:40:28 +0000 (16:40 +0100)
These struct members and variable were commented out. Remove them.

Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver")
Fixes: c820468ac99c ("net/ipn3ke: support TM")
Cc: stable@dpdk.org
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Rosen Xu <rosen.xu@intel.com>
drivers/net/ipn3ke/ipn3ke_ethdev.h
drivers/net/ipn3ke/ipn3ke_tm.c

index 985f203..9b0cf30 100644 (file)
@@ -96,20 +96,13 @@ struct ipn3ke_tm_node {
 /* IPN3KE TM Hierarchy Specification */
 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];*/
 };
 
 struct ipn3ke_tm_internals {
index a93145d..5a16c5f 100644 (file)
@@ -1087,7 +1087,6 @@ ipn3ke_tm_node_add_check_mount(uint32_t tm_id,
        uint32_t node_id, uint32_t parent_node_id, uint32_t level_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;
        uint32_t parent_index1;