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)
commit359632e54427055ca5a9c2a849ea09d131540acb
tree8d01ea817b7c9574d7f783b957ec5a4cc77b7efe
parentd316dedd4dae67e58976b695d3d0405a9db45246
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