diff options
author | Zhiyong Yang <zhiyong.yang@intel.com> | 2019-06-11 01:08:20 -0400 |
---|---|---|
committer | Zhiyong Yang <zhiyong.yang@intel.com> | 2019-06-11 01:08:20 -0400 |
commit | 5c5ffe16cfc14238bbc49c2938a2851ff8a487ba (patch) | |
tree | 90fb808db208c5b3ab2eaf6f7a867ee92a01d1f4 /src/plugins/lacp/lacp.c | |
parent | f0b68a55a66040a72ad4f6f5832640386cb3c58e (diff) |
lacp: remove duplicated code
Change-Id: I0fb646c350b392d69658ba4188ae25e0f0a6cdc1
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Diffstat (limited to 'src/plugins/lacp/lacp.c')
-rw-r--r-- | src/plugins/lacp/lacp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/lacp/lacp.c b/src/plugins/lacp/lacp.c index 4bb50aea32a..57d8bb0edb3 100644 --- a/src/plugins/lacp/lacp.c +++ b/src/plugins/lacp/lacp.c @@ -347,7 +347,6 @@ lacp_init_neighbor (slave_if_t * sif, u8 * hw_address, u16 port_number, sif->partner.key = htons (group); sif->partner.port_number = htons (port_number); sif->partner.port_priority = htons (LACP_DEFAULT_PORT_PRIORITY); - sif->partner.key = htons (group); sif->partner.state = 0; sif->actor_admin = sif->actor; |