]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bonding-cleanups'
authorDavid S. Miller <davem@davemloft.net>
Mon, 15 Sep 2014 21:19:55 +0000 (17:19 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Sep 2014 21:19:55 +0000 (17:19 -0400)
commitc54806903b8a48b3601fc9a7f3dfd778044c5b18
tree02f1d06b712e53d70a43ccb9f56ac05cffc2af0a
parent049ef8b8a2f6d9df26725233aefa4641ab829c43
parentaf07136717cd54f96387be68cdd1773f77d159e9
Merge branch 'bonding-cleanups'

Nikolay Aleksandrov says:

====================
bonding: style, comment and assertion changes

This is a small and simple patch-set that doesn't introduce (hopefully) any
functional changes, but only stylistic and semantic ones.
Patch 01 simply uses the already provided __rlb_next_rx_slave function inside
rlb_next_rx_slave(), thus removing the duplication of code.
Patch 02 changes all comments that I could find to netdev style, removes
some outdated ones and fixes a few more small cosmetic issues (new line
after declaration, braces around if; else and such)
Patch 03 removes one extra ASSERT_RTNL() because we already have it in the
parent function and consolidates two other ASSERT_RTNL()s to the function
that is exported and supposed to be called with RTNL anyway.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>