diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 6bf217da9d8f..ccf97f9f37eb 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1341,9 +1341,6 @@ static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev) | |||
1341 | 1341 | ||
1342 | void __netif_schedule(struct Qdisc *q) | 1342 | void __netif_schedule(struct Qdisc *q) |
1343 | { | 1343 | { |
1344 | if (WARN_ON_ONCE(q == &noop_qdisc)) | ||
1345 | return; | ||
1346 | |||
1347 | if (!test_and_set_bit(__QDISC_STATE_SCHED, &q->state)) { | 1344 | if (!test_and_set_bit(__QDISC_STATE_SCHED, &q->state)) { |
1348 | struct softnet_data *sd; | 1345 | struct softnet_data *sd; |
1349 | unsigned long flags; | 1346 | unsigned long flags; |