From: Eric W. Biederman Date: Thu, 29 Oct 2009 14:18:23 +0000 (+0000) Subject: bond: Simplify bond_create. X-Git-Tag: v2.6.33-rc1~388^2~579 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c15ba9936a17d743f90eb3e2f6fa82acddc5f3;p=pandora-kernel.git bond: Simplify bond_create. Stop calling dev_get_by_name to see if the bond device already exists. register_netdevice already does that. Stop calling bond_deinit if register_netdevice fails as bond_uninit is guaranteed to be called if bond_init succeeds. Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller --- Reading git-diff-tree failed