diff options
| author | Doug Berger <[email protected]> | 2017-03-13 17:41:33 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-03-13 21:51:49 -0700 |
| commit | c298ede2fe21e034ab6ba4f15340fadc03ae9663 (patch) | |
| tree | 8201f36ecb488e401e01e8a3cdd52f1149aaa891 /tools/perf/scripts/python/bin | |
| 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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions