net/bonding: Move slave state changes to a helper function
authorMoni Shoua <monis@mellanox.com>
Tue, 3 Feb 2015 14:48:30 +0000 (16:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 00:14:24 +0000 (16:14 -0800)
commit69a2338e05995b10225b2a131f7540d1305980e4
treeb18f6fbe1d3188505bdf1aeffba4fd493febb36b
parent61bd3857ff2c7daf756d49b41e6277bbdaa8f789
net/bonding: Move slave state changes to a helper function

Move slave state changes to a helper function, this is a pre-step for adding
functionality of dispatching an event when this helper is called.

This commit doesn't add new functionality.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
include/net/bonding.h