diff options
author | stephen hemminger <stephen@networkplumber.org> | 2017-02-07 08:46:46 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-07 14:16:05 -0500 |
commit | ca6d4480f87db9d9470d3d7bbe445953fa105e57 (patch) | |
tree | d72ac5c90c2b1ea913b528a7425db874d70c270c /net/bridge | |
parent | 9bcdef3288f2f4d8b05d522128198fdcb3f07885 (diff) |
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>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_fdb.c | 6 | ||||
-rw-r--r-- | net/bridge/br_input.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/net/bridge/br_fdb.c b/net/bridge/br_fdb.c |