]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: remove the return value for bond_3ad_bind_slave()
authordingtianhong <dingtianhong@huawei.com>
Thu, 2 Jan 2014 01:13:12 +0000 (09:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 03:58:55 +0000 (22:58 -0500)
commit24b1b0a93e03302f9e7be6920232988f6ecf3dfc
tree8d01ea817b7c9574d7f783b957ec5a4cc77b7efe
parenta4b3a4807a5ceb1bcc11ea0488b04e6dd6d1268c
bonding: remove the return value for bond_3ad_bind_slave()

I'm sure the operand slave and bond for the function will not
be NULL, so the check for the bond will not make any sense, so
remove the judgement, and the return value was useless here,
remove the unwanted return value.

The comments for the bond 3ad is too old, cleanup some errors
and warming.

Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_3ad.h