diff options
-rw-r--r-- | net/sched/sch_api.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 5b5bce0694e2..2e863bdaa9a1 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c | |||
@@ -322,7 +322,6 @@ void qdisc_watchdog_schedule(struct qdisc_watchdog *wd, psched_time_t expires) | |||
322 | ktime_t time; | 322 | ktime_t time; |
323 | 323 | ||
324 | wd->qdisc->flags |= TCQ_F_THROTTLED; | 324 | wd->qdisc->flags |= TCQ_F_THROTTLED; |
325 | smp_wmb(); | ||
326 | time = ktime_set(0, 0); | 325 | time = ktime_set(0, 0); |
327 | time = ktime_add_ns(time, PSCHED_US2NS(expires)); | 326 | time = ktime_add_ns(time, PSCHED_US2NS(expires)); |
328 | hrtimer_start(&wd->timer, time, HRTIMER_MODE_ABS); | 327 | hrtimer_start(&wd->timer, time, HRTIMER_MODE_ABS); |
@@ -333,7 +332,6 @@ void qdisc_watchdog_cancel(struct qdisc_watchdog *wd) | |||
333 | { | 332 | { |
334 | hrtimer_cancel(&wd->timer); | 333 | hrtimer_cancel(&wd->timer); |
335 | wd->qdisc->flags &= ~TCQ_F_THROTTLED; | 334 | wd->qdisc->flags &= ~TCQ_F_THROTTLED; |
336 | smp_wmb(); | ||
337 | } | 335 | } |
338 | EXPORT_SYMBOL(qdisc_watchdog_cancel); | 336 | EXPORT_SYMBOL(qdisc_watchdog_cancel); |
339 | 337 | ||