diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-09-06 16:48:39 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-09-15 11:10:36 -0700 |
| commit | 6d324ae5dbe13066aa60d71c4e5d2beaaab6af21 (patch) | |
| tree | de973c76572285b60b22ae3b93929bf339e94b7f | |
| parent | 14622f22abd93ca464c9be1b6b58d6f0fb2bb186 (diff) | |
| download | openvswitch-6d324ae5dbe13066aa60d71c4e5d2beaaab6af21.tar.gz | |
odp-util: Drop pointless "if" statement.
| -rw-r--r-- | lib/odp-util.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/odp-util.c b/lib/odp-util.c index 965759508..3d9439815 100644 --- 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; } |
