aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2020-08-18 10:57:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 13:45:21 +0200
commit6d507c75e0cd359e4cede48230fb7e7a45c9bb74 (patch)
tree29b7b8eea017b71501fb20f76ae8a8c6791f67a4 /tools/perf/scripts/python/export-to-postgresql.py
parentvc_screen: sanitize types in vcs_read (diff)
downloadwireguard-linux-6d507c75e0cd359e4cede48230fb7e7a45c9bb74.tar.xz
wireguard-linux-6d507c75e0cd359e4cede48230fb7e7a45c9bb74.zip
vs_screen: kill tmp_count from vcs_read
Both tmp_count computations and the single use can be eliminated using min(). Do so. Side note: we need HEADER_SIZE to be unsigned for min() not to complain. Fix that too as all its other uses do not mind. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20200818085706.12163-11-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions