We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b67f5d commit 75ed784Copy full SHA for 75ed784
syncd/syncd_saiswitch.cpp
@@ -328,17 +328,6 @@ void SaiSwitch::helperCheckLaneMap()
328
SWSS_LOG_THROW("lanes map size differ: %lu vs %lu", laneMap.size(), redisLaneMap.size());
329
}
330
331
- /*
332
- * We assume there are at least 32 ports and port number
333
- * can be divided by 16 without rest.
334
- */
335
-
336
- if (laneMap.size() < 32 || (laneMap.size() % 16 != 0))
337
- {
338
- // TODO throw here
339
- SWSS_LOG_ERROR("LANES size is %zu, something is wrong!", laneMap.size());
340
- }
341
342
for (auto kv: laneMap)
343
{
344
sai_uint32_t lane = kv.first;
0 commit comments