]> 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)
commit310779ea5c003aea1624188697dd0ff5ea5b94e2
tree8d01ea817b7c9574d7f783b957ec5a4cc77b7efe
parentb0cfe2557a5057532cd6e2f61f22bddcaad363e2
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