ofp-util: Remove obsolete build assertion.
authorBen Pfaff <blp@nicira.com>
Wed, 7 Sep 2011 17:12:13 +0000 (10:12 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 15 Sep 2011 18:10:36 +0000 (11:10 -0700)
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).

lib/ofp-util.c

index 00d1af76f56f5548ad8f9f9e9e88d86e58d52932..5f7937f642e26516ad3e788994cb491cb507d8b2 100644 (file)
@@ -344,9 +344,6 @@ static int
 ofputil_decode_vendor(const struct ofp_header *oh,
                       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[] = {
         { OFPUTIL_NXT_ROLE_REQUEST,
           NXT_ROLE_REQUEST, "NXT_ROLE_REQUEST",