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)
commitdef4460cdb171d64309c927907c18c4efcb0204b
tree5caeb98f8521868af91d283e939d20c479cf6c9d
parent1155e964a616a9bd4b603f6f8bf4f47576b010c5
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