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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user