bonding: Invert test
authorJoe Perches <joe@perches.com>
Tue, 18 Feb 2014 17:42:47 +0000 (09:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Feb 2014 20:37:51 +0000 (15:37 -0500)
Make the error case return early.
Make the normal return at the bottom of the function.
Reduces indent for readability.

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

Simple merge