From eb6e978cc1119c651efe48aeffc22e1827e4458a Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 7 Sep 2011 10:12:13 -0700 Subject: 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). --- lib/ofp-util.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib') 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", -- cgit v1.2.3