diff options
author | Wei Yang <[email protected]> | 2020-06-01 21:49:01 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-06-02 10:59:09 -0700 |
commit | 0fd0e19e4d0e9c84117584783535a57ec3ae98c6 (patch) | |
tree | 3973516dc52c52970a1747598d0c504ca7a8c946 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | abca1c84b7575b470789c8686688b11ba3bf138d (diff) |
mm/swapfile.c: found_free could be represented by (tmp < max)
This is not necessary to use the variable found_free to record the status.
Just check tmp and max is enough.
Signed-off-by: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: "Huang, Ying" <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: Hugh Dickins <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions