diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-04-05 13:52:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-08 13:53:21 +0300 |
commit | 571d79664a4a37bd66fbd80f714e9d66d2c2de35 (patch) | |
tree | 9d3e45853a822c715eefc282ebacf1b39b583d05 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b79e51c9994970699a0f488a7c121699d4595581 (diff) | |
download | linux-571d79664a4a37bd66fbd80f714e9d66d2c2de35.tar.xz |
selftests: mptcp: join: update endpoint ops
This patch uses 'case' statements to simplify pm_nl_add_endpoint() and
pm_nl_check_endpoint(). And simplify pm_nl_check_endpoint() with
check_output() helper. Also update pm_nl_del_endpoint() to avoid the
'double quote' shellcheck warning.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions