From: Jiri Pirko <j...@resnulli.us> Date: Thu, 23 Mar 2017 17:02:16 +0100
> From: Jiri Pirko <j...@mellanox.com> > > 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 <j...@mellanox.com> Applied, thanks Jiri.