Skip to content

Commit

Permalink
Remove line end white space
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox committed Oct 27, 2021
1 parent 36c13fa commit d27271a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion syncd/FlexCounter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ void FlexCounter::removeFlowCounter(
swss::RedisPipeline pipeline(&db);
swss::Table countersTable(&pipeline, COUNTERS_TABLE, false);
swss::Table ratesTable(&pipeline, RATES_TABLE, false);

// Remove counter and rate entries from COUNTER DB to avoid resource leak
std::string counterVidStr = sai_serialize_object_id(counterVid);
countersTable.del(counterVidStr);
Expand Down
4 changes: 2 additions & 2 deletions syncd/FlexCounter.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ namespace syncd
void updateSupportedPriorityGroupCounters(
_In_ sai_object_id_t priorityGroupRid,
_In_ const std::vector<sai_ingress_priority_group_stat_t> &counterIds);

void updateSupportedFlowCounters(
_In_ sai_object_id_t counterRid,
_In_ const std::vector<sai_counter_stat_t> &counterIds);
Expand Down Expand Up @@ -366,7 +366,7 @@ namespace syncd
FlowCounterIds(
_In_ sai_object_id_t counterId,
_In_ const std::vector<sai_counter_stat_t> &flowCounterIds);

sai_object_id_t counterId;
std::vector<sai_counter_stat_t> flowCounterIds;
};
Expand Down

0 comments on commit d27271a

Please sign in to comment.