diff options
Diffstat (limited to 'net/sched/sch_generic.c')
-rw-r--r-- | net/sched/sch_generic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index 2488dbb17b60..e525fd723c12 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c | |||
@@ -514,9 +514,7 @@ void qdisc_destroy(struct Qdisc *qdisc) | |||
514 | return; | 514 | return; |
515 | 515 | ||
516 | list_del(&qdisc->list); | 516 | list_del(&qdisc->list); |
517 | #ifdef CONFIG_NET_ESTIMATOR | ||
518 | gen_kill_estimator(&qdisc->bstats, &qdisc->rate_est); | 517 | gen_kill_estimator(&qdisc->bstats, &qdisc->rate_est); |
519 | #endif | ||
520 | if (ops->reset) | 518 | if (ops->reset) |
521 | ops->reset(qdisc); | 519 | ops->reset(qdisc); |
522 | if (ops->destroy) | 520 | if (ops->destroy) |