Эх сурвалжийг харах

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>
Jiri Pirko 7 жил өмнө
parent
commit
d58d31a118

+ 0 - 2
include/net/pkt_cls.h

@@ -561,7 +561,6 @@ struct tc_cls_common_offload {
 	u32 chain_index;
 	u32 chain_index;
 	__be16 protocol;
 	__be16 protocol;
 	u32 prio;
 	u32 prio;
-	u32 classid;
 };
 };
 
 
 static inline void
 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->chain_index = tp->chain->index;
 	cls_common->protocol = tp->protocol;
 	cls_common->protocol = tp->protocol;
 	cls_common->prio = tp->prio;
 	cls_common->prio = tp->prio;
-	cls_common->classid = tp->classid;
 }
 }
 
 
 struct tc_cls_u32_knode {
 struct tc_cls_u32_knode {