summaryrefslogtreecommitdiff
path: root/include/net/udp.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-03-23 20:36:48 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-24 22:53:15 +0300
commite9d7af78b22e766a72ddb956a87789249a30a470 (patch)
tree4b8100955fdfe8f41a3666eaac1f540615746772 /include/net/udp.h
parent6baa785a9c336f69c2aa36f4949856b3bb90bde3 (diff)
downloadlinux-e9d7af78b22e766a72ddb956a87789249a30a470.tar.xz
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/udp.h')
0 files changed, 0 insertions, 0 deletions