summaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-10-19 15:50:46 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-21 03:04:08 +0100
commit8d26d5636dff9fca30816579910aaa9a55b4d96d (patch)
tree3c82ff1aa167e07b81296a2d41cf6cfa3d2f7edd /net/dsa
parent6b3eb752b4b9481868b3393f06a236a1aedfa43f (diff)
downloadlinux-stable-8d26d5636dff9fca30816579910aaa9a55b4d96d.tar.gz
linux-stable-8d26d5636dff9fca30816579910aaa9a55b4d96d.tar.bz2
linux-stable-8d26d5636dff9fca30816579910aaa9a55b4d96d.zip
net: sched: avoid ndo_setup_tc calls for TC_SETUP_CLS*
All drivers are converted to use block callbacks for TC_SETUP_CLS*. So it is now safe to remove the calls to ndo_setup_tc from cls_* Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r--net/dsa/slave.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index 80142918d5d1..d0ae7010ea45 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -846,8 +846,6 @@ static int dsa_slave_setup_tc(struct net_device *dev, enum tc_setup_type type,
void *type_data)
{
switch (type) {
- case TC_SETUP_CLSMATCHALL:
- return 0; /* will be removed after conversion from ndo */
case TC_SETUP_BLOCK:
return dsa_slave_setup_tc_block(dev, type_data);
default: