summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/receive.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/receive.c b/src/receive.c
index 92a47c8..ac23e47 100644
--- a/src/receive.c
+++ b/src/receive.c
@@ -405,12 +405,6 @@ next:
peer_put(peer);
if (unlikely(free))
dev_kfree_skb(skb);
-
- /* Don't totally kill scheduling latency by keeping preemption disabled forever. */
- if (need_resched()) {
- local_bh_enable();
- local_bh_disable();
- }
}
local_bh_enable();
}