From 6d324ae5dbe13066aa60d71c4e5d2beaaab6af21 Mon Sep 17 00:00:00 2001
From: Ben Pfaff <blp@nicira.com>
Date: Tue, 6 Sep 2011 16:48:39 -0700
Subject: [PATCH] odp-util: Drop pointless "if" statement.

---
 lib/odp-util.c | 4 ----
 1 file changed, 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;
         }
 
-- 
2.47.0