From: Ben Pfaff Date: Wed, 7 Sep 2011 17:12:13 +0000 (-0700) Subject: ofp-util: Remove obsolete build assertion. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb6e978cc1119c651efe48aeffc22e1827e4458a;p=openvswitch 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). --- diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 00d1af76..5f7937f6 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -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",