[ovs-git] [openvswitch/ovs] 4673ac: ofproto-dpif-rid: remove struct rid_map

GitHub noreply at github.com
Thu Sep 25 20:55:59 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 4673ac185d2c44b6f01517415bd254e3c79d8f6d
      https://github.com/openvswitch/ovs/commit/4673ac185d2c44b6f01517415bd254e3c79d8f6d
  Author: Simon Horman <simon.horman at netronome.com>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M ofproto/ofproto-dpif-rid.c

  Log Message:
  -----------
  ofproto-dpif-rid: remove struct rid_map

struct rid_map only has one member which is a struct hmap.
This allows for a slight simplification of the code by removing
struct rid_map and using a struct hmap directly instead.

Signed-off-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Andy Zhou <azhou at nicira.com>


  Commit: dced21add6ffb5e20594bb430fd65d4d60694d35
      https://github.com/openvswitch/ovs/commit/dced21add6ffb5e20594bb430fd65d4d60694d35
  Author: Simon Horman <simon.horman at netronome.com>
  Date:   2014-09-25 (Thu, 25 Sep 2014)

  Changed paths:
    M ofproto/ofproto-dpif-rid.c

  Log Message:
  -----------
  ofproto-dpif-rid: remove unused return value of rid_pool_add()

The return value of rid_pool_add() is never used
so the code may be slightly simplified by removing it.

Signed-off-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Andy Zhou <azhou at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/0b5d64f6f7fa...dced21add6ff


More information about the git mailing list