Skip to content

Commit d5468f8

Browse files
author
Shuotian Cheng
authored
[portsyncd]: Remove unused LAG related tables (sonic-net#329)
1 parent c78f9ae commit d5468f8

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

portsyncd/linksync.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ LinkSync::LinkSync(DBConnector *db) :
3434
m_portTableProducer(db, APP_PORT_TABLE_NAME),
3535
m_vlanTableProducer(db, APP_VLAN_TABLE_NAME),
3636
m_vlanMemberTableProducer(db, APP_VLAN_MEMBER_TABLE_NAME),
37-
m_lagTableProducer(db, APP_LAG_TABLE_NAME),
3837
m_portTableConsumer(db, APP_PORT_TABLE_NAME),
39-
m_vlanMemberTableConsumer(db, APP_VLAN_MEMBER_TABLE_NAME),
40-
m_lagTableConsumer(db, APP_LAG_TABLE_NAME)
38+
m_vlanMemberTableConsumer(db, APP_VLAN_MEMBER_TABLE_NAME)
4139
{
4240
/* See the comments for g_portSet in portsyncd.cpp */
4341
for (string port : g_portSet)

portsyncd/linksync.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class LinkSync : public NetMsg
1919
virtual void onMsg(int nlmsg_type, struct nl_object *obj);
2020

2121
private:
22-
ProducerStateTable m_portTableProducer, m_vlanTableProducer, m_vlanMemberTableProducer, m_lagTableProducer;
23-
Table m_portTableConsumer, m_vlanMemberTableConsumer, m_lagTableConsumer;
22+
ProducerStateTable m_portTableProducer, m_vlanTableProducer, m_vlanMemberTableProducer;
23+
Table m_portTableConsumer, m_vlanMemberTableConsumer;
2424

2525
std::map<unsigned int, std::string> m_ifindexNameMap;
2626
};

0 commit comments

Comments
 (0)