diff options
author | 2021-06-12 09:37:30 -0500 | |
---|---|---|
committer | 2021-06-12 13:18:48 -0700 | |
commit | bbd45f10ed0e032b599973d56d5c221266cf2ccf (patch) | |
tree | c4a5a425c79d16c0e713d0df14440ebcd60fb01c /tools/perf/scripts/python/stackcollapse.py | |
parent | net: qualcomm: rmnet: remove some local variables (diff) | |
download | linux-dev-bbd45f10ed0e032b599973d56d5c221266cf2ccf.tar.xz linux-dev-bbd45f10ed0e032b599973d56d5c221266cf2ccf.zip |
net: qualcomm: rmnet: rearrange some NOTs
With the ones' complement arithmetic, the sum of two negated values
is equal to the negation of the sum of the two original values [1].
Rearrange the calculation ip6_payload_sum using this property.
[1] https://tools.ietf.org/html/rfc1071
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions