diff options
author | Eric W. Biederman | 2009-10-29 15:18:24 +0100 |
---|---|---|
committer | David S. Miller | 2009-10-30 20:41:20 +0100 |
commit | c67dfb299e05a132154b9bfaae4a83de478ffaa9 (patch) | |
tree | c50365a663033432ac9d5af2f0e70cc578eec474 /Documentation/early-userspace | |
parent | bond: Simplify bond_create. (diff) | |
download | kernel-qcow2-linux-c67dfb299e05a132154b9bfaae4a83de478ffaa9.tar.gz kernel-qcow2-linux-c67dfb299e05a132154b9bfaae4a83de478ffaa9.tar.xz kernel-qcow2-linux-c67dfb299e05a132154b9bfaae4a83de478ffaa9.zip |
bond: Simplify bond device destruction
Manually inline the code from bond_deinit to bond_uninit. bond_uninit
is the only caller and it is short.
Move the call of bond_release_all from the netdev notifier into
bond_uninit. The call site is effectively the same and performing
the call explicitly allows all the paths for destroying a
bonding device to behave the same way.
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/early-userspace')
0 files changed, 0 insertions, 0 deletions