netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] bonding: style, comment and assertion changes
@ 2014-09-15 15:19 Nikolay Aleksandrov
  2014-09-15 15:19 ` [PATCH net-next 1/3] bonding: consolidate the two rlb_next_rx_slave functions into one Nikolay Aleksandrov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Nikolay Aleksandrov @ 2014-09-15 15:19 UTC (permalink / raw)
  To: netdev; +Cc: vfalico, j.vosburgh, andy, davem, Nikolay Aleksandrov

Hi all,
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.

Best regards,
 Nikolay Aleksandrov

Nikolay Aleksandrov (3):
  bonding: consolidate the two rlb_next_rx_slave functions into one
  bonding: trivial: style and comment fixes
  bonding: consolidate ASSERT_RTNL()s and remove the unnecessary

 drivers/net/bonding/bond_3ad.c     |   5 +-
 drivers/net/bonding/bond_alb.c     |  86 ++++++----------
 drivers/net/bonding/bond_debugfs.c |   4 +-
 drivers/net/bonding/bond_main.c    | 205 +++++++++++++------------------------
 drivers/net/bonding/bond_sysfs.c   |   1 -
 drivers/net/bonding/bonding.h      |   3 +-
 6 files changed, 105 insertions(+), 199 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-15 21:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-15 15:19 [PATCH net-next 0/3] bonding: style, comment and assertion changes Nikolay Aleksandrov
2014-09-15 15:19 ` [PATCH net-next 1/3] bonding: consolidate the two rlb_next_rx_slave functions into one Nikolay Aleksandrov
2014-09-15 15:19 ` [PATCH net-next 2/3] bonding: trivial: style and comment fixes Nikolay Aleksandrov
2014-09-15 15:19 ` [PATCH net-next 3/3] bonding: consolidate ASSERT_RTNL()s and remove the unnecessary Nikolay Aleksandrov
2014-09-15 21:20 ` [PATCH net-next 0/3] bonding: style, comment and assertion changes David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).