diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-03-23 18:36:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-24 20:53:15 +0100 |
commit | e9d7af78b22e766a72ddb956a87789249a30a470 (patch) | |
tree | 4b8100955fdfe8f41a3666eaac1f540615746772 /include/net | |
parent | net: systemport: Clear status to reduce spurious interrupts (diff) | |
download | linux-e9d7af78b22e766a72ddb956a87789249a30a470.tar.xz linux-e9d7af78b22e766a72ddb956a87789249a30a470.zip |
net: systemport: Simplify circular pointer arithmetic
Similar to c298ede2fe21 ("net: bcmgenet: simplify circular pointer
arithmetic") we don't need to complex arthimetic since we always have a
ring size that is a power of 2.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions