diff options
author | Doug Berger <opendmb@gmail.com> | 2017-03-13 17:41:33 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-13 21:51:49 -0700 |
commit | c298ede2fe21e034ab6ba4f15340fadc03ae9663 (patch) | |
tree | 8201f36ecb488e401e01e8a3cdd52f1149aaa891 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 83ee102a6998f808ac4c626e8f72344f0a355527 (diff) |
net: bcmgenet: simplify circular pointer arithmetic
A 2's complement subtraction will always do a borrow, so masking
off the sign bits is the same as conditionally adding (mask+1).
Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions