From 884f3511e116ada64605afb04513fabec9759166 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 2 Oct 2013 11:07:56 -0700 Subject: [PATCH] ofproto-dpif-upcall: Remove dead code from recv_upcalls(). Signed-off-by: Ben Pfaff --- ofproto/ofproto-dpif-upcall.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index 07c302fd5..9ec081ac0 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -488,7 +488,6 @@ classify_upcall(const struct upcall *upcall) static void recv_upcalls(struct udpif *udpif) { - size_t n_udpif_new_upcalls = 0; int n; for (;;) { @@ -568,9 +567,6 @@ recv_upcalls(struct udpif *udpif) ovs_mutex_unlock(&handler->mutex); } } - if (n_udpif_new_upcalls) { - seq_change(udpif->wait_seq); - } } static struct flow_miss * -- 2.47.0