[ovs-dev] [PATCH 2/6] upcall: Eliminate dead code.
Jarno Rajahalme
jrajahalme at nicira.com
Thu Oct 29 03:07:54 UTC 2015
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
---
ofproto/ofproto-dpif-upcall.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c
index 3ef1b9a..245f52e 100644
--- a/ofproto/ofproto-dpif-upcall.c
+++ b/ofproto/ofproto-dpif-upcall.c
@@ -1293,10 +1293,8 @@ handle_upcalls(struct udpif *udpif, struct upcall *upcalls,
unsigned int flow_limit;
size_t n_ops, n_opsp, i;
bool may_put;
- bool megaflow;
atomic_read_relaxed(&udpif->flow_limit, &flow_limit);
- atomic_read_relaxed(&enable_megaflows, &megaflow);
may_put = udpif_get_n_flows(udpif) < flow_limit;
--
2.1.4
More information about the dev
mailing list