summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLiang Li <liali@redhat.com>2023-05-09 09:09:19 +0000
committerDavid S. Miller <davem@davemloft.net>2023-05-10 10:06:42 +0100
commit2f0f556713f08515f3017fd35309b1f00fbc8932 (patch)
tree56e9e6715775bf08cc7b52fd3e58a7243a387d79 /tools
parent5e316a818e75c585dc7b601e8b51823a4059d408 (diff)
downloadlwn-2f0f556713f08515f3017fd35309b1f00fbc8932.tar.gz
lwn-2f0f556713f08515f3017fd35309b1f00fbc8932.zip
selftests: bonding: delete unnecessary line
"ip link set dev "$devbond1" nomaster" This line code in bond-eth-type-change.sh is unnecessary. Because $devbond1 was not added to any master device. Signed-off-by: Liang Li <liali@redhat.com> Acked-by: Hangbin Liu <liuhangbin@gmail.com> Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/drivers/net/bonding/bond-eth-type-change.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/drivers/net/bonding/bond-eth-type-change.sh b/tools/testing/selftests/drivers/net/bonding/bond-eth-type-change.sh
index 5cdd22048ba7..862e947e17c7 100755
--- a/tools/testing/selftests/drivers/net/bonding/bond-eth-type-change.sh
+++ b/tools/testing/selftests/drivers/net/bonding/bond-eth-type-change.sh
@@ -53,7 +53,6 @@ bond_test_enslave_type_change()
# restore ARPHRD_ETHER type by enslaving such device
ip link set dev "$devbond2" master "$devbond0"
check_err $? "could not enslave $devbond2 to $devbond0"
- ip link set dev "$devbond1" nomaster
bond_check_flags "$devbond0"