mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
selftests: bonding: remove redundant delete action of device link1_1
When run command "ip netns delete client", device link1_1 has been deleted. So, it is no need to delete link1_1 again. Remove it. Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ccd06f502b
commit
e56e220d73
|
|
@ -11,7 +11,6 @@ finish()
|
|||
{
|
||||
ip netns delete server || true
|
||||
ip netns delete client || true
|
||||
ip link del link1_1 || true
|
||||
}
|
||||
|
||||
trap finish EXIT
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user