diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-03-23 19:02:16 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-24 22:47:10 +0300 |
commit | 5952fde10c35ecfefb0c3e61536170798d4a51c9 (patch) | |
tree | fdaf47ed760ebd3a714339bca74aa378106f1fcb /net/hsr/hsr_framereg.h | |
parent | 270c7759fbbc99e1ed00259c752a8c53f31cfb27 (diff) | |
download | linux-5952fde10c35ecfefb0c3e61536170798d4a51c9.tar.xz |
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>
Diffstat (limited to 'net/hsr/hsr_framereg.h')
0 files changed, 0 insertions, 0 deletions