diff options
author | Mateusz Nosek <mateusznosek0@gmail.com> | 2020-04-01 21:10:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-04-02 09:35:31 -0700 |
commit | c4ecddfff1f27182d12db39cb3bbdd1e8cddf863 (patch) | |
tree | f94f2d554240a72f8ca0ec3da3f1f1c7a637c45a /mm/internal.h | |
parent | 4b7930626747079ca3a7c278d36002c6627eeb88 (diff) | |
download | lwn-c4ecddfff1f27182d12db39cb3bbdd1e8cddf863.tar.gz lwn-c4ecddfff1f27182d12db39cb3bbdd1e8cddf863.zip |
mm/vmscan.c: do_try_to_free_pages(): clean code by removing unnecessary assignment
sc->memcg_low_skipped resets skipped_deactivate to 0 but this is not
needed as this code path is never reachable with skipped_deactivate != 0
due to previous sc->skipped_deactivate branch.
[mhocko@kernel.org: rewrite changelog]
Signed-off-by: Mateusz Nosek <mateusznosek0@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@kernel.org>
Link: http://lkml.kernel.org/r/20200319165938.23354-1-mateusznosek0@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions