summaryrefslogtreecommitdiff
path: root/tests/test-classifier.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-06-18 15:46:13 -0700
committerBen Pfaff <blp@nicira.com>2012-09-04 11:19:16 -0700
commite7b4ef5eacebe5d5cae85c0076960f276b16554c (patch)
tree0c338f1c1d2ff0bc5afd0374d6d0feb42d310133 /tests/test-classifier.c
parent26720e2449918b92be1fd0e3a7c57012c057c733 (diff)
downloadopenvswitch-e7b4ef5eacebe5d5cae85c0076960f276b16554c.tar.gz
flow: Remove flow_wildcards_is_exact().
It's only used in a not-very-useful assertion in some test code. In general, exact-match flows make very little sense anymore, and they're basically on their way out. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'tests/test-classifier.c')
-rw-r--r--tests/test-classifier.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-classifier.c b/tests/test-classifier.c
index ae1d81f2c..d4a524d34 100644
--- a/tests/test-classifier.c
+++ b/tests/test-classifier.c
@@ -134,8 +134,6 @@ tcls_insert(struct tcls *tcls, const struct test_rule *rule)
{
size_t i;
- assert(!flow_wildcards_is_exact(&rule->cls_rule.wc)
- || rule->cls_rule.priority == UINT_MAX);
for (i = 0; i < tcls->n_rules; i++) {
const struct cls_rule *pos = &tcls->rules[i]->cls_rule;
if (cls_rule_equal(pos, &rule->cls_rule)) {