From: Eric W. Biederman Date: Thu, 29 Oct 2009 14:18:24 +0000 (+0000) Subject: bond: Simplify bond device destruction X-Git-Tag: v2.6.33-rc1~388^2~578 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c67dfb299e05a132154b9bfaae4a83de478ffaa9;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed