]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
include/linux/compaction.h: clean code by removing unused enum value
authorMateusz Nosek <mateusznosek0@gmail.com>
Tue, 13 Oct 2020 23:57:01 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:34 +0000 (18:38 -0700)
The enum value 'COMPACT_INACTIVE' is never used so can be removed.

Signed-off-by: Mateusz Nosek <mateusznosek0@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://lkml.kernel.org/r/20200917110750.12015-1-mateusznosek0@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compaction.h

index 25a521d299c1c40a379ec8318905c2d236728ed8..1de5a1151ee7ebc27bafb183be914b3ff4b4519e 100644 (file)
@@ -29,9 +29,6 @@ enum compact_result {
        /* compaction didn't start as it was deferred due to past failures */
        COMPACT_DEFERRED,
 
-       /* compaction not active last round */
-       COMPACT_INACTIVE = COMPACT_DEFERRED,
-
        /* For more detailed tracepoint output - internal to compaction */
        COMPACT_NO_SUITABLE_PAGE,
        /* compaction should continue to another pageblock */