[ovs-git] [openvswitch/ovs] b80675: ovsdb-idl.c: Remove meaningless MAX().

Han Zhou noreply at github.com
Tue Mar 26 20:44:51 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b80675c6b3f4c27952446b6dc681a50d4c92a64a
      https://github.com/openvswitch/ovs/commit/b80675c6b3f4c27952446b6dc681a50d4c92a64a
  Author: Han Zhou <hzhou8 at ebay.com>
  Date:   2019-03-26 (Tue, 26 Mar 2019)

  Changed paths:
    M lib/ovsdb-idl.c

  Log Message:
  -----------
  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 at ebay.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list