aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorZhiyong Yang <zhiyong.yang@intel.com>2019-06-11 01:08:20 -0400
committerZhiyong Yang <zhiyong.yang@intel.com>2019-06-11 01:08:20 -0400
commit5c5ffe16cfc14238bbc49c2938a2851ff8a487ba (patch)
tree90fb808db208c5b3ab2eaf6f7a867ee92a01d1f4 /src/plugins
parentf0b68a55a66040a72ad4f6f5832640386cb3c58e (diff)
lacp: remove duplicated code
Change-Id: I0fb646c350b392d69658ba4188ae25e0f0a6cdc1 Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lacp/lacp.c1
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;