mirror of
https://github.com/openvswitch/ovs
synced 2025-09-02 23:35:27 +00:00
ofp-util: Remove obsolete build assertion.
Commit d1e9b9bf3
"nicira-ext: Renumber NXT_FLOW_MOD_TABLE_ID" eliminated
the need for the NXT_SET_FLOW_FORMAT and NXT_FLOW_MOD_TABLE_ID commands to
have different sizes, so asserting that they are different isn't useful
anymore (although it is still correct and always will be).
This commit is contained in:
@@ -344,9 +344,6 @@ static int
|
|||||||
ofputil_decode_vendor(const struct ofp_header *oh,
|
ofputil_decode_vendor(const struct ofp_header *oh,
|
||||||
const struct ofputil_msg_type **typep)
|
const struct ofputil_msg_type **typep)
|
||||||
{
|
{
|
||||||
BUILD_ASSERT_DECL(sizeof(struct nxt_set_flow_format)
|
|
||||||
!= sizeof(struct nxt_flow_mod_table_id));
|
|
||||||
|
|
||||||
static const struct ofputil_msg_type nxt_messages[] = {
|
static const struct ofputil_msg_type nxt_messages[] = {
|
||||||
{ OFPUTIL_NXT_ROLE_REQUEST,
|
{ OFPUTIL_NXT_ROLE_REQUEST,
|
||||||
NXT_ROLE_REQUEST, "NXT_ROLE_REQUEST",
|
NXT_ROLE_REQUEST, "NXT_ROLE_REQUEST",
|
||||||
|
Reference in New Issue
Block a user