Signed-off-by: Ethan Jackson <et...@nicira.com> --- lib/lacp.c | 8 -------- lib/lacp.h | 1 - 2 files changed, 9 deletions(-)
diff --git a/lib/lacp.c b/lib/lacp.c index 8fd9d89..8bc115d 100644 --- a/lib/lacp.c +++ b/lib/lacp.c @@ -382,14 +382,6 @@ lacp_slave_may_enable(const struct lacp *lacp, const void *slave_) } } -/* Returns the port ID used for 'slave_' in LACP communications. */ -uint16_t -lacp_slave_get_port_id(const struct lacp *lacp, const void *slave_) -{ - struct slave *slave = slave_lookup(lacp, slave_); - return slave->port_id; -} - /* Returns true if partner information on 'slave_' is up to date. 'slave_' * not being current, generally indicates a connectivity problem, or a * misconfigured (or broken) partner. */ diff --git a/lib/lacp.h b/lib/lacp.h index 624e368..399b39e 100644 --- a/lib/lacp.h +++ b/lib/lacp.h @@ -60,7 +60,6 @@ void lacp_slave_register(struct lacp *, void *slave_, void lacp_slave_unregister(struct lacp *, const void *slave); void lacp_slave_carrier_changed(const struct lacp *, const void *slave); bool lacp_slave_may_enable(const struct lacp *, const void *slave); -uint16_t lacp_slave_get_port_id(const struct lacp *, const void *slave); bool lacp_slave_is_current(const struct lacp *, const void *slave_); /* Callback function for lacp_run() for sending a LACP PDU. */ -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev