upcall: Eliminate dead code.
authorJarno Rajahalme <jrajahalme@nicira.com>
Wed, 4 Nov 2015 23:47:35 +0000 (15:47 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 4 Nov 2015 23:48:56 +0000 (15:48 -0800)
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Joe Stringer <joestringer@nicira.com>
ofproto/ofproto-dpif-upcall.c

index 3ef1b9a..245f52e 100644 (file)
@@ -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;