summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-10-19 16:50:47 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-21 05:04:08 +0300
commitd58d31a118690b578897749feda48416ac10ca43 (patch)
tree16a665c5ec68e7293e0645d7d45e45b12a3046c2
parent8d26d5636dff9fca30816579910aaa9a55b4d96d (diff)
downloadlinux-d58d31a118690b578897749feda48416ac10ca43.tar.xz
net: sched: remove unused classid field from tc_cls_common_offload
It is no longer used by the drivers, so remove it. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/pkt_cls.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index fcca5a9d9880..04caa246e747 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -561,7 +561,6 @@ struct tc_cls_common_offload {
u32 chain_index;
__be16 protocol;
u32 prio;
- u32 classid;
};
static inline void
@@ -571,7 +570,6 @@ tc_cls_common_offload_init(struct tc_cls_common_offload *cls_common,
cls_common->chain_index = tp->chain->index;
cls_common->protocol = tp->protocol;
cls_common->prio = tp->prio;
- cls_common->classid = tp->classid;
}
struct tc_cls_u32_knode {