mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
ovsdb-idl.c: Remove meaningless MAX().
In the else condition, it is already ensured that index >= idl->min_index. So the MAX() is confusing and misleading here. Signed-off-by: Han Zhou <hzhou8@ebay.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -1888,7 +1888,7 @@ ovsdb_idl_check_server_db(struct ovsdb_idl *idl)
|
||||
VLOG_WARN("%s: clustered database server has stale data; "
|
||||
"trying another server", server_name);
|
||||
} else {
|
||||
idl->min_index = MAX(idl->min_index, index);
|
||||
idl->min_index = index;
|
||||
ok = true;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user