diff options
author | Eric W. Biederman <ebiederm@aristanetworks.com> | 2009-10-29 14:18:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-30 12:41:20 -0700 |
commit | c67dfb299e05a132154b9bfaae4a83de478ffaa9 (patch) | |
tree | c50365a663033432ac9d5af2f0e70cc578eec474 /drivers/telephony | |
parent | 30c15ba9936a17d743f90eb3e2f6fa82acddc5f3 (diff) |
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 'drivers/telephony')
0 files changed, 0 insertions, 0 deletions