Commit 2f0f5567 authored by Liang Li's avatar Liang Li Committed by David S. Miller

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: default avatarLiang Li <liali@redhat.com>
Acked-by: default avatarHangbin Liu <liuhangbin@gmail.com>
Reviewed-by: default avatarNikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5e316a81
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment