diff mbox

[ovs-dev,2/6] upcall: Eliminate dead code.

Message ID 1446088078-32610-2-git-send-email-jrajahalme@nicira.com
State Accepted
Headers show

Commit Message

Jarno Rajahalme Oct. 29, 2015, 3:07 a.m. UTC
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
---
 ofproto/ofproto-dpif-upcall.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Joe Stringer Nov. 4, 2015, 7:02 p.m. UTC | #1
On 28 October 2015 at 20:07, Jarno Rajahalme <jrajahalme@nicira.com> wrote:
> Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>

Acked-by: Joe Stringer <joestringer@nicira.com>
Jarno Rajahalme Nov. 7, 2015, 2:56 a.m. UTC | #2
Pushed to master,

  Jarno

> On Nov 4, 2015, at 11:02 AM, Joe Stringer <joestringer@nicira.com> wrote:
> 
> On 28 October 2015 at 20:07, Jarno Rajahalme <jrajahalme@nicira.com> wrote:
>> Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
> 
> Acked-by: Joe Stringer <joestringer@nicira.com>
diff mbox

Patch

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;