Skip to content

Commit

Permalink
Merge pull request #613 from Mellanox/master_devel
Browse files Browse the repository at this point in the history
Master devel
  • Loading branch information
tomer540 committed Jun 28, 2022
2 parents ba82604 + 411404f commit 346d949
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions mlxlink/modules/mlxlink_commander.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3857,23 +3857,6 @@ void MlxlinkCommander::checkPRBSModeCap(u_int32_t modeSelector, u_int32_t capMas
modeToCheck += "A";
}

char squareWaveId = modeToCheck.back();
switch (squareWaveId)
{
case '8':
findAndReplace(modeToCheck, "8", "A");
break;
case '4':
findAndReplace(modeToCheck, "4", "B");
break;
case '2':
findAndReplace(modeToCheck, "2", "C");
break;
case '1':
findAndReplace(modeToCheck, "1", "D");
break;
}

// Fetching mode capability from mode list
u_int32_t modeCap = 0;

Expand Down

0 comments on commit 346d949

Please sign in to comment.