summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-10-19 15:50:48 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-21 03:04:08 +0100
commitfa71212e91811ac67014ad19d4fc3b3c3446ccf7 (patch)
tree789290e101303895a58f172292772fcf9e831cc5 /include
parentd58d31a118690b578897749feda48416ac10ca43 (diff)
downloadlinux-stable-fa71212e91811ac67014ad19d4fc3b3c3446ccf7.tar.gz
linux-stable-fa71212e91811ac67014ad19d4fc3b3c3446ccf7.tar.bz2
linux-stable-fa71212e91811ac67014ad19d4fc3b3c3446ccf7.zip
net: sched: remove unused is_classid_clsact_ingress/egress helpers
These helpers are no longer in use by drivers, so remove them. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/pkt_sched.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h
index 2d234af15f3e..b8ecafce4ba1 100644
--- a/include/net/pkt_sched.h
+++ b/include/net/pkt_sched.h
@@ -135,19 +135,6 @@ static inline unsigned int psched_mtu(const struct net_device *dev)
return dev->mtu + dev->hard_header_len;
}
-static inline bool is_classid_clsact_ingress(u32 classid)
-{
- /* This also returns true for ingress qdisc */
- return TC_H_MAJ(classid) == TC_H_MAJ(TC_H_CLSACT) &&
- TC_H_MIN(classid) != TC_H_MIN(TC_H_MIN_EGRESS);
-}
-
-static inline bool is_classid_clsact_egress(u32 classid)
-{
- return TC_H_MAJ(classid) == TC_H_MAJ(TC_H_CLSACT) &&
- TC_H_MIN(classid) == TC_H_MIN(TC_H_MIN_EGRESS);
-}
-
static inline struct net *qdisc_net(struct Qdisc *q)
{
return dev_net(q->dev_queue->dev);