Skip to content

Commit

Permalink
ofproto-dpif-upcall: Remove struct upcall netflow member.
Browse files Browse the repository at this point in the history
The netflow member was not used for anything, so it can be removed.

Signed-off-by: Jarno Rajahalme <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
Jarno Rajahalme committed Aug 22, 2014
1 parent ef377a5 commit 051f41b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ofproto/ofproto-dpif-upcall.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -826,8 +825,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;
}
Expand Down Expand Up @@ -923,7 +921,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);
}
}

Expand Down

0 comments on commit 051f41b

Please sign in to comment.