mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
6b3eb752b4
commit
8d26d5636d
14 changed files with 0 additions and 103 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue