[ovs-git] [openvswitch/ovs] ee5315: timeval: Remove duplicate memset().

GitHub noreply at github.com
Fri Feb 20 18:31:39 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: ee5315b9f90b106bd0eb8d1cab18e627d0d19c30
      https://github.com/openvswitch/ovs/commit/ee5315b9f90b106bd0eb8d1cab18e627d0d19c30
  Author: Russell Bryant <rbryant at redhat.com>
  Date:   2015-02-20 (Fri, 20 Feb 2015)

  Changed paths:
    M lib/timeval.c

  Log Message:
  -----------
  timeval: Remove duplicate memset().

init_clock begins with a memset of 0 of the full clock struct.  This
memset at the end of a single struct member just makes extra sure that
it's set to 0, which is unnecessary.

Signed-off-by: Russell Bryant <rbryant at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list