diff options
author | Eric W. Biederman <ebiederm@aristanetworks.com> | 2009-10-29 14:18:23 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-30 12:41:19 -0700 |
commit | 30c15ba9936a17d743f90eb3e2f6fa82acddc5f3 (patch) | |
tree | d9a9c6cf0df8ae3ab04111977a824c92ab634384 /drivers/scsi/libsas/sas_port.c | |
parent | 6151b3d435feeeae7487032fcd5c8c7f281ba05c (diff) |
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 <ebiederm@aristanetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/libsas/sas_port.c')
0 files changed, 0 insertions, 0 deletions