Skip to content

Commit a01470f

Browse files
authored
Remove TODO comments that are no longer relevant (#2622)
I removed TODO comments that are no longer relevant. To clean source code, non relevant comments should be cleared from source.
1 parent d058390 commit a01470f

File tree

5 files changed

+0
-11
lines changed

5 files changed

+0
-11
lines changed

cfgmgr/intfmgrd.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ int main(int argc, char **argv)
6262
WarmStart::checkWarmStart("intfmgrd", "swss");
6363

6464
IntfMgr intfmgr(&cfgDb, &appDb, &stateDb, cfg_intf_tables);
65-
66-
// TODO: add tables in stateDB which interface depends on to monitor list
6765
std::vector<Orch *> cfgOrchList = {&intfmgr};
6866

6967
swss::Select s;

cfgmgr/portmgrd.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ int main(int argc, char **argv)
5353
DBConnector stateDb("STATE_DB", 0);
5454

5555
PortMgr portmgr(&cfgDb, &appDb, &stateDb, cfg_port_tables);
56-
57-
// TODO: add tables in stateDB which interface depends on to monitor list
5856
vector<Orch *> cfgOrchList = {&portmgr};
5957

6058
swss::Select s;

cfgmgr/vrfmgrd.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ int main(int argc, char **argv)
6464

6565
isWarmStart = WarmStart::isWarmStart();
6666

67-
// TODO: add tables in stateDB which interface depends on to monitor list
6867
std::vector<Orch *> cfgOrchList = {&vrfmgr};
6968

7069
swss::Select s;

orchagent/qosorch.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -1338,11 +1338,6 @@ task_process_status QosOrch::handleSchedulerTable(Consumer& consumer, KeyOpField
13381338
attr.value.u8 = (uint8_t)stoi(fvValue(*i));
13391339
sai_attr_list.push_back(attr);
13401340
}
1341-
else if (fvField(*i) == scheduler_priority_field_name)
1342-
{
1343-
// TODO: The meaning is to be able to adjust priority of the given scheduler group.
1344-
// However currently SAI model does not provide such ability.
1345-
}
13461341
else if (fvField(*i) == scheduler_meter_type_field_name)
13471342
{
13481343
sai_meter_type_t meter_value = scheduler_meter_map.at(fvValue(*i));

orchagent/qosorch.h

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ const string scheduler_algo_DWRR = "DWRR";
4444
const string scheduler_algo_WRR = "WRR";
4545
const string scheduler_algo_STRICT = "STRICT";
4646
const string scheduler_weight_field_name = "weight";
47-
const string scheduler_priority_field_name = "priority";
4847
const string scheduler_meter_type_field_name = "meter_type";
4948
const string scheduler_min_bandwidth_rate_field_name = "cir";//Committed Information Rate
5049
const string scheduler_min_bandwidth_burst_rate_field_name = "cbs";//Committed Burst Size

0 commit comments

Comments
 (0)