From: Jarno Rajahalme Date: Wed, 4 Nov 2015 23:47:35 +0000 (-0800) Subject: upcall: Eliminate dead code. X-Git-Tag: v2.5.0~352 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=f3abc57bbfc581eb399a388e94db1a8923243fb4 upcall: Eliminate dead code. Signed-off-by: Jarno Rajahalme Acked-by: Joe Stringer --- diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index 3ef1b9a64..245f52e69 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;