Skip to content

Commit

Permalink
Clean code, remove unused header file (sonic-net#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft authored Oct 22, 2020
1 parent bb94f8e commit 4de6db0
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion mclagsyncd/mclaglink.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@

#include "producerstatetable.h"
#include "selectable.h"
#include "redisclient.h"
#include "mclagsyncd/mclag.h"

namespace swss {
Expand Down
1 change: 0 additions & 1 deletion orchagent/bufferorch.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "orch.h"
#include "portsorch.h"
#include "redisapi.h"
#include "redisclient.h"

#define BUFFER_POOL_WATERMARK_STAT_COUNTER_FLEX_COUNTER_GROUP "BUFFER_POOL_WATERMARK_STAT_COUNTER"

Expand Down
1 change: 0 additions & 1 deletion orchagent/countercheckorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include "portsorch.h"
#include "select.h"
#include "notifier.h"
#include "redisclient.h"
#include "sai_serialize.h"
#include <inttypes.h>

Expand Down
1 change: 0 additions & 1 deletion orchagent/flexcounterorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include "portsorch.h"
#include "select.h"
#include "notifier.h"
#include "redisclient.h"
#include "sai_serialize.h"
#include "pfcwdorch.h"
#include "bufferorch.h"
Expand Down
1 change: 0 additions & 1 deletion orchagent/pfcwdorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "redisapi.h"
#include "select.h"
#include "notifier.h"
#include "redisclient.h"
#include "schema.h"
#include "subscriberstatetable.h"

Expand Down
1 change: 0 additions & 1 deletion orchagent/pfcwdorch.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "producertable.h"
#include "notificationconsumer.h"
#include "timer.h"
#include "redisclient.h"

extern "C" {
#include "sai.h"
Expand Down
1 change: 0 additions & 1 deletion orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "crmorch.h"
#include "countercheckorch.h"
#include "notifier.h"
#include "redisclient.h"
#include "fdborch.h"

extern sai_switch_api_t *sai_switch_api;
Expand Down
2 changes: 1 addition & 1 deletion orchagent/routeorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ void RouteOrch::doTask(Consumer& consumer)
else
{
if (addRoute(ctx, nhg))
it = consumer.m_toSync.erase(it);
it = consumer.m_toSync.erase(it);
else
it++;
}
Expand Down

0 comments on commit 4de6db0

Please sign in to comment.