Commit 74c9da4e authored by Mateusz Nosek's avatar Mateusz Nosek Committed by Linus Torvalds

include/linux/compaction.h: clean code by removing unused enum value

The enum value 'COMPACT_INACTIVE' is never used so can be removed.
Signed-off-by: default avatarMateusz Nosek <mateusznosek0@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/20200917110750.12015-1-mateusznosek0@gmail.comSigned-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 62b35fe0
...@@ -29,9 +29,6 @@ enum compact_result { ...@@ -29,9 +29,6 @@ enum compact_result {
/* compaction didn't start as it was deferred due to past failures */ /* compaction didn't start as it was deferred due to past failures */
COMPACT_DEFERRED, COMPACT_DEFERRED,
/* compaction not active last round */
COMPACT_INACTIVE = COMPACT_DEFERRED,
/* For more detailed tracepoint output - internal to compaction */ /* For more detailed tracepoint output - internal to compaction */
COMPACT_NO_SUITABLE_PAGE, COMPACT_NO_SUITABLE_PAGE,
/* compaction should continue to another pageblock */ /* compaction should continue to another pageblock */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment