From: Ben Pfaff Date: Wed, 2 Oct 2013 18:07:56 +0000 (-0700) Subject: ofproto-dpif-upcall: Remove dead code from recv_upcalls(). X-Git-Tag: sliver-openvswitch-2.0.90-1~11^2~10 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=884f3511e116ada64605afb04513fabec9759166;p=sliver-openvswitch.git ofproto-dpif-upcall: Remove dead code from recv_upcalls(). Signed-off-by: Ben Pfaff --- 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 *