bonding: remove the redundant judgements for bond_set_mac_address()
authordingtianhong <dingtianhong@huawei.com>
Wed, 12 Feb 2014 06:58:49 +0000 (14:58 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Feb 2014 22:49:12 +0000 (17:49 -0500)
commit805d157e8f4273eeafeeab53c3a5d295ac0d9208
tree38002604ce839e1bc12e6348d96a3988e2fb131d
parent25f929fbff0d1bcebf2e92656d33025cd330cbf8
bonding: remove the redundant judgements for bond_set_mac_address()

The dev_set_mac_address() will check the dev->netdev_ops->ndo_set_mac_address,
so no need to check it in bond_set_mac_address().

Cc: Jay Vosburgh <fubar@us.ibm.com>
Cc: Veaceslav Falico <vfalico@redhat.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c