projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14622f2
)
odp-util: Drop pointless "if" statement.
author
Ben Pfaff
<blp@nicira.com>
Tue, 6 Sep 2011 23:48:39 +0000
(16:48 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 15 Sep 2011 18:10:36 +0000
(11:10 -0700)
lib/odp-util.c
patch
|
blob
|
history
diff --git
a/lib/odp-util.c
b/lib/odp-util.c
index 9657595084de2bafd3da8d4df5eefc4f291b5686..3d94398153492af4aa92aafd642900c0c810c4b9 100644
(file)
--- a/
lib/odp-util.c
+++ b/
lib/odp-util.c
@@
-989,10
+989,6
@@
odp_flow_key_to_flow(const struct nlattr *key, size_t key_len,
break;
default:
- if (type == OVS_KEY_ATTR_UNSPEC
- || prev_type == OVS_KEY_ATTR_UNSPEC) {
- return EINVAL;
- }
return EINVAL;
}