diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2014-11-17 10:51:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-18 15:19:32 -0500 |
commit | 7b487d070a0edea01816135d3b1a9c8f2c069657 (patch) | |
tree | 8dd7a7e0592bc8309ffeb6883aa3296fb7e9475c /drivers/tc | |
parent | net: fec: use swab32s() instead of cpu_to_be32() (diff) | |
download | linux-dev-7b487d070a0edea01816135d3b1a9c8f2c069657.tar.xz linux-dev-7b487d070a0edea01816135d3b1a9c8f2c069657.zip |
net: fec: simplify loop counter handling in swap_buffer()
Eliminate the DIV_ROUND_UP() and change the loop counter increment to
4 instead. This results in saving 6 instructions in the functions
assembly code.
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions