]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: call slave_last_rx() only once per slave
authorVeaceslav Falico <vfalico@redhat.com>
Sat, 3 Aug 2013 01:50:35 +0000 (03:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2013 19:19:44 +0000 (12:19 -0700)
commit0093774b77930a941df671a58a251edc45b3f6b5
tree5caeb98f8521868af91d283e939d20c479cf6c9d
parentd74158731aea7219ce2869c9d70f3cd7b5481335
bonding: call slave_last_rx() only once per slave

Simple cleanup to not call slave_last_rx() on every time function. It won't
give any measurable boost - but looks cleaner and easier to understand.

There are no time-consuming functions in between these calls, so it's safe
to call it in the beginning only once.

CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c