diff options
| author | 2022-02-13 22:42:30 -0500 | |
|---|---|---|
| committer | 2022-02-13 22:42:30 -0500 | |
| commit | 124f75f864f38327e3e7e182e6b6da5105e2bade (patch) | |
| tree | f861c6dfec15a97b5c6200d89cd9fb18132aac80 /tools/perf/util/scripting-engines | |
| parent | seq_file: fix NULL pointer arithmetic warning (diff) | |
| download | wireguard-linux-124f75f864f38327e3e7e182e6b6da5105e2bade.tar.xz wireguard-linux-124f75f864f38327e3e7e182e6b6da5105e2bade.zip | |
clean overflow checks in count_mounts() a bit
Wraparound checks in there are redundant (x + y < x and
x + y < y are equivalent when x and y are both unsigned int).
IMO more straightforward code would be better here...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions
