]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a5461690491eb8f57604786d5c1642405ad9e6b
treeb18f6fbe1d3188505bdf1aeffba4fd493febb36b
parent40e69cc72a8fa56732f01d525ed3aaf2108dbb13
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