diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-04-05 12:52:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-08 11:53:21 +0100 |
commit | 571d79664a4a37bd66fbd80f714e9d66d2c2de35 (patch) | |
tree | 9d3e45853a822c715eefc282ebacf1b39b583d05 /net/lapb/lapb_in.c | |
parent | b79e51c9994970699a0f488a7c121699d4595581 (diff) |
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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions