aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-06-11 14:05:25 -0500
committerDavid S. Miller <davem@davemloft.net>2021-06-11 13:37:49 -0700
commit874a333f7472b2cb57d8528cb26089858ca91005 (patch)
tree229f3ee8f8b584143ce2337f9eae1fe8b8485778 /tools/perf/scripts/python/export-to-postgresql.py
parentnet: qualcomm: rmnet: get rid of some local variables (diff)
downloadlinux-dev-874a333f7472b2cb57d8528cb26089858ca91005.tar.xz
linux-dev-874a333f7472b2cb57d8528cb26089858ca91005.zip
net: qualcomm: rmnet: simplify rmnet_map_get_csum_field()
The checksum fields of the TCP and UDP header structures already have type __sum16. We don't support any other protocol headers, so we can simplify rmnet_map_get_csum_field(), getting rid of the local variable entirely and just returning the appropriate address. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions