git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Fix unused 'done' label build warning in flow.c.
[sliver-openvswitch.git]
/
datapath
/
flow.c
diff --git
a/datapath/flow.c
b/datapath/flow.c
index
d9e3602
..
a13edeb
100644
(file)
--- a/
datapath/flow.c
+++ b/
datapath/flow.c
@@
-922,10
+922,6
@@
int flow_metadata_from_nlattrs(u16 *in_port, __be64 *tun_id,
if (rem)
return -EINVAL;
-done:
- if (prev_type == ODP_KEY_ATTR_UNSPEC ||
- prev_type == ODP_KEY_ATTR_TUN_ID)
- return -EINVAL;
return 0;
}