diff options
| author | Jiri Slaby <[email protected]> | 2020-08-18 10:57:01 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-08-18 13:45:21 +0200 |
| commit | 6d507c75e0cd359e4cede48230fb7e7a45c9bb74 (patch) | |
| tree | 29b7b8eea017b71501fb20f76ae8a8c6791f67a4 /tools/perf/scripts/python | |
| parent | 36c39220129e4048b6810dc732b49b4f23f2dcee (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions