summaryrefslogtreecommitdiff
path: root/drivers/ipack
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-05-29 03:53:03 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-30 18:27:07 +0300
commit770f0cea19510098cb01ac87370e800b53a6bf5d (patch)
treeb2aa23abefb21491fcf779fe942ce0abc7b86bd2 /drivers/ipack
parent193d6218ba801c88a5f3ef1bb2357e39074b3cdc (diff)
downloadlinux-770f0cea19510098cb01ac87370e800b53a6bf5d.tar.xz
nfp: don't add ring size to index calculations
Adding ring size to index calculation is pointless, since index will be masked with ring size - 1. Suggested-by: David Laight <David.Laight@ACULAB.COM> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ipack')
0 files changed, 0 insertions, 0 deletions