Skip to contentSkip to conversation

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

PATCH Applied [email protected] 1 participant 1 message Sep 17, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

From: Mateusz Nosek <[email protected]>

The enum value 'COMPACT_INACTIVE' is never used so can be removed.

---
 include/linux/compaction.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/compaction.h +0 -3
index 25a521d299c1..1de5a1151ee7 100644
@@ -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 */
Signature · 1 line
2.20.1