diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-02-23 21:17:57 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-26 18:42:12 -0800 |
commit | 488ccbe76cb4fb3dff87722c35dd5e2ea6c5f8d6 (patch) | |
tree | 63950c9817498dbee6645276964d1da8bf74d8d5 /tools/testing/selftests/net/mptcp/pm_netlink.sh | |
parent | 14d29ec5302caac945267b9586fad01ecddc700c (diff) |
selftests: mptcp: netlink: drop duplicate var ret
The variable 'ret' are defined twice in pm_netlink.sh. This patch drops
this duplicate one that has been defined from the beginning, with
commit eedbc685321b ("selftests: add PM netlink functional tests")
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>
Link: https://lore.kernel.org/r/20240223-upstream-net-next-20240223-misc-improvements-v1-5-b6c8a10396bd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/mptcp/pm_netlink.sh')
-rwxr-xr-x | tools/testing/selftests/net/mptcp/pm_netlink.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/mptcp/pm_netlink.sh b/tools/testing/selftests/net/mptcp/pm_netlink.sh index 71899a3ffa7a..ebfefae71e13 100755 --- a/tools/testing/selftests/net/mptcp/pm_netlink.sh +++ b/tools/testing/selftests/net/mptcp/pm_netlink.sh @@ -28,7 +28,6 @@ sec=$(date +%s) rndh=$(printf %x $sec)-$(mktemp -u XXXXXX) ns1="ns1-$rndh" err=$(mktemp) -ret=0 cleanup() { |