commit | 5952fde10c35ecfefb0c3e61536170798d4a51c9 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Mar 23 17:02:16 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 24 12:47:10 2017 -0700 |
tree | fdaf47ed760ebd3a714339bca74aa378106f1fcb | |
parent | 270c7759fbbc99e1ed00259c752a8c53f31cfb27 [diff] |
net: sched: choke: remove dead filter classify code sch_choke is classless qdisc so it does not define cl_ops. Therefore filter_list cannot be ever changed, being NULL all the time. Reason is this check in tc_ctl_tfilter: /* Is it classful? */ cops = q->ops->cl_ops; if (!cops) return -EINVAL; So remove this dead code. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>