summaryrefslogtreecommitdiff
path: root/ofproto/ofproto-dpif-xlate.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2014-01-29 15:13:19 +0900
committerBen Pfaff <blp@nicira.com>2014-02-03 15:32:38 -0800
commit836fbda7fd9901d77e3d702ba66839dfa5f656de (patch)
tree761014bb330672dc23bd2589a590444fbf7dd940 /ofproto/ofproto-dpif-xlate.h
parent29dd5cb732fe935246475811cdc9f2a3ac785435 (diff)
downloadopenvswitch-836fbda7fd9901d77e3d702ba66839dfa5f656de.tar.gz
ofproto-dpif-xlate: Remove unused fitnessp pararameter from xlate_receive
Some functions pass a non-NULL value as this parameter but none of those function uses the value xlate_receive() returns there. So simply remove the parameter all together. Also remove the now unused key_fitness field of struct flow_miss. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/ofproto-dpif-xlate.h')
-rw-r--r--ofproto/ofproto-dpif-xlate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ofproto/ofproto-dpif-xlate.h b/ofproto/ofproto-dpif-xlate.h
index 982f1a468..173b4798b 100644
--- a/ofproto/ofproto-dpif-xlate.h
+++ b/ofproto/ofproto-dpif-xlate.h
@@ -152,8 +152,7 @@ void xlate_ofport_remove(struct ofport_dpif *) OVS_REQ_WRLOCK(xlate_rwlock);
int xlate_receive(const struct dpif_backer *, struct ofpbuf *packet,
const struct nlattr *key, size_t key_len,
- struct flow *, enum odp_key_fitness *,
- struct ofproto_dpif **, struct dpif_ipfix **,
+ struct flow *, struct ofproto_dpif **, struct dpif_ipfix **,
struct dpif_sflow **, struct netflow **,
odp_port_t *odp_in_port)
OVS_EXCLUDED(xlate_rwlock);