[ovs-dev] [PATCH 2/4] ofproto-dpif-upcall: Remove struct upcall netflow member.

Jarno Rajahalme jrajahalme at nicira.com
Fri Aug 15 23:38:47 UTC 2014


The netflow member was not used for anything, so it can be removed.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
---
 ofproto/ofproto-dpif-upcall.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c
index 9f68a7d..a7c845e 100644
--- a/ofproto/ofproto-dpif-upcall.c
+++ b/ofproto/ofproto-dpif-upcall.c
@@ -164,7 +164,6 @@ struct upcall {
 
     struct dpif_ipfix *ipfix;      /* IPFIX reference or NULL. */
     struct dpif_sflow *sflow;      /* SFlow reference or NULL. */
-    struct netflow *netflow;       /* Netlow reference or NULL. */
 
     bool vsp_adjusted;             /* 'packet' and 'flow' were adjusted for
                                       VLAN splinters if true. */
@@ -822,8 +821,7 @@ upcall_receive(struct upcall *upcall, const struct dpif_backer *backer,
     int error;
 
     error = xlate_receive(backer, flow, &upcall->ofproto, &upcall->ipfix,
-                          &upcall->sflow, &upcall->netflow,
-                          &upcall->in_port);
+                          &upcall->sflow, NULL, &upcall->in_port);
     if (error) {
         return error;
     }
@@ -917,7 +915,6 @@ upcall_uninit(struct upcall *upcall)
         ofpbuf_uninit(&upcall->put_actions);
         dpif_ipfix_unref(upcall->ipfix);
         dpif_sflow_unref(upcall->sflow);
-        netflow_unref(upcall->netflow);
     }
 }
 
-- 
1.7.10.4




More information about the dev mailing list