bridge: avoid unnecessary read of jiffies
authorstephen hemminger <stephen@networkplumber.org>
Tue, 7 Feb 2017 16:46:46 +0000 (08:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 19:16:05 +0000 (14:16 -0500)
commitca6d4480f87db9d9470d3d7bbe445953fa105e57
treed72ac5c90c2b1ea913b528a7425db874d70c270c
parent9bcdef3288f2f4d8b05d522128198fdcb3f07885
bridge: avoid unnecessary read of jiffies

Jiffies is volatile so read it once.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c
net/bridge/br_input.c