X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fovsdb-types.c;h=b47bfad3987c160cbee1abe72bf5ce49b7694704;hb=f606c7e99465477cf0533ecbc4795a0f8fe635e0;hp=b3452dd831b67e4ff2e6d8166554712a583739e6;hpb=7360012bdf64effd898242a58634267e203a2795;p=openvswitch diff --git a/lib/ovsdb-types.c b/lib/ovsdb-types.c index b3452dd8..b47bfad3 100644 --- a/lib/ovsdb-types.c +++ b/lib/ovsdb-types.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009, 2010 Nicira Networks +/* Copyright (c) 2009, 2010, 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -556,7 +556,6 @@ ovsdb_type_is_valid(const struct ovsdb_type *type) && ovsdb_base_type_is_valid(&type->key) && ovsdb_base_type_is_valid(&type->value) && type->n_min <= 1 - && type->n_min <= type->n_max && type->n_max >= 1); }