diff options
author | Ilpo Järvinen <[email protected]> | 2023-09-04 12:53:39 +0300 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2023-10-13 14:29:08 -0600 |
commit | f23c7925e98a1f0d9e3ee93a856dfe3d1288a3f0 (patch) | |
tree | b02cb6b224d33daa7eb84d16d54a3dac46a9463b /net/lapb/lapb_timer.c | |
parent | 149ff729538aabaa85c44dc58a45fb99798e5e7e (diff) |
selftests/resctrl: Cleanup benchmark argument parsing
Benchmark argument is handled by custom argument parsing code which is
more complicated than it needs to be.
Process benchmark argument within the normal getopt() handling and drop
unnecessary ben_ind and has_ben variables. When -b is given, terminate
the argument processing as -b consumes all remaining arguments.
Signed-off-by: Ilpo Järvinen <[email protected]>
Tested-by: Shaopeng Tan <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Reviewed-by: Shaopeng Tan <[email protected]>
Reviewed-by: "Wieczor-Retman, Maciej" <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions