2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

odp-util: Drop pointless "if" statement.

This commit is contained in:
Ben Pfaff
2011-09-06 16:48:39 -07:00
parent 14622f22ab
commit 6d324ae5db

View File

@@ -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;
}