Skip to content

Commit 2f0f556

Browse files
Liang Lidavem330
authored andcommitted
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>
1 parent 5e316a8 commit 2f0f556

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/testing/selftests/drivers/net/bonding/bond-eth-type-change.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ bond_test_enslave_type_change()
5353
# restore ARPHRD_ETHER type by enslaving such device
5454
ip link set dev "$devbond2" master "$devbond0"
5555
check_err $? "could not enslave $devbond2 to $devbond0"
56-
ip link set dev "$devbond1" nomaster
5756

5857
bond_check_flags "$devbond0"
5958

0 commit comments

Comments
 (0)