[ovs-git] [openvswitch/ovs] 9bd881: ovs-lldp: Remove dead store to TTL configuration.

GitHub noreply at github.com
Tue May 30 14:46:33 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 9bd881f77861a8110b40de81730f9045287a58a6
      https://github.com/openvswitch/ovs/commit/9bd881f77861a8110b40de81730f9045287a58a6
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M lib/ovs-lldp.c

  Log Message:
  -----------
  ovs-lldp: Remove dead store to TTL configuration.

Apparently this has always used LLDP_CHASSIS_TTL as a fixed TTL, so we
might as well delete the statement just before that tries to dynamically
calculate it.

Found by Coverity.

Reported-at: https://scan3.coverity.com/reports.htm#v16889/p10449/fileInstanceId=14762612&defectInstanceId=4304824&mergedDefectId=180431
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Dennis Flynn <drflynn at avaya.com>




More information about the git mailing list